Class 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, IOException
      Specified by:
      invokeServer in class BaseMethodBinding
    • isReturnVoid

      public boolean isReturnVoid()
    • provideAllowableRequestTypes

      protected abstract Set<> provideAllowableRequestTypes()