Class BaseOutcomeReturningMethodBindingWithResourceIdButNoResourceBody

    • Method Detail

      • allowVoidReturnType

        protected boolean allowVoidReturnType()
        Subclasses may override to allow a void method return type, which is allowable for some methods (e.g. delete)
      • createClientInvocation

        protected abstract BaseHttpClientInvocation createClientInvocation​(Object[] theArgs,
                                                                           org.hl7.fhir.instance.model.api.IBaseResource resource)
      • getMatchingOperation

        protected abstract String getMatchingOperation()
        For servers, this method will match only incoming requests that match the given operation, or which have no operation in the URL if this method returns null.
      • invokeClient

        public ca.uhn.fhir.rest.api.MethodOutcome invokeClient​(String theResponseMimeType,
                                                               InputStream theResponseInputStream,
                                                               int theResponseStatusCode,
                                                               Map<String,​List<String>> theHeaders)
                                                        throws ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
        Throws:
        ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
      • isReturnVoid

        public boolean isReturnVoid()
      • provideAllowableRequestTypes

        protected abstract Set<ca.uhn.fhir.rest.api.RequestTypeEnum> provideAllowableRequestTypes()
      • parseContentLocation

        protected static void parseContentLocation​(ca.uhn.fhir.context.FhirContext theContext,
                                                   ca.uhn.fhir.rest.api.MethodOutcome theOutcomeToPopulate,
                                                   String theLocationHeader)