Class BaseOutcomeReturningMethodBindingWithResourceIdButNoResourceBody

java.lang.Object
ca.uhn.fhir.rest.server.method.BaseMethodBinding
ca.uhn.fhir.rest.server.method.BaseOutcomeReturningMethodBindingWithResourceIdButNoResourceBody
Direct Known Subclasses:
DeleteMethodBinding, PatchMethodBinding

  • Constructor Details

  • Method Details

    • getResourceName

      Description copied from class: BaseMethodBinding
      Returns the name of the resource this method handles, or null if this method is not resource specific
      Specified by:
      getResourceName in class BaseMethodBinding
    • getIdParameterIndex

    • addParametersForServerRequest

      protected abstract void addParametersForServerRequest(RequestDetails theRequest, Object[] theParams)
    • allowVoidReturnType

      protected boolean allowVoidReturnType()
      Subclasses may override to allow a void method return type, which is allowable for some methods (e.g. delete)
    • 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.
    • incomingServerRequestMatchesMethod

      public MethodMatchEnum incomingServerRequestMatchesMethod(RequestDetails theRequest)
      Specified by:
      incomingServerRequestMatchesMethod in class BaseMethodBinding
    • invokeServer

      public Object invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest) throws ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException, IOException
      Specified by:
      invokeServer in class BaseMethodBinding
      Throws:
      ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
      IOException
    • isReturnVoid

      public boolean isReturnVoid()
    • provideAllowableRequestTypes

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