Interface RequestHandler

All Known Implementing Classes:
RequestHandlerImpl

public interface RequestHandler
Contract of this component is process all requests, initialization and control main components of JAX-RS implementation.
Version:
$Id: $
Author:
Andrey Parfonov
  • Field Details

    • WS_RS_TMP_DIR

      static final String WS_RS_TMP_DIR
      Temporary directory attribute name.
      See Also:
    • WS_RS_BUFFER_SIZE

      static final String WS_RS_BUFFER_SIZE
      Max buffer size attribute name. Entities that has size greater then specified will be stored in temporary directory on file system during entity processing.
      See Also:
    • WS_RS_BUFFER_SIZE_VALUE

      static final int WS_RS_BUFFER_SIZE_VALUE
      Max buffer size attribute value. See WS_RS_BUFFER_SIZE.
      See Also:
  • Method Details

    • handleRequest

      void handleRequest(GenericContainerRequest request, GenericContainerResponse response) throws Exception
      Handle the HTTP request by dispatching request to appropriate resource. If no one appropriate resource found then error response will be produced.
      Parameters:
      request - HTTP request
      response - HTTP response
      Throws:
      Exception - if any error occurs