
public abstract class AbstractHttpTransportInterceptor extends AbstractInterceptor<Transport<?,?>> implements HttpTransportInterceptor
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparatorDEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY| Constructor and Description |
|---|
AbstractHttpTransportInterceptor() |
AbstractHttpTransportInterceptor(int initPriority,
int shutdownPriority) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
processDeleteRequest(HttpTransport httpTransport,
HttpTransportRequest request,
HttpTransportResponse response,
UriMessagingContainerMount messagingContainerMount)
Run when the HTTP transport receives a DELETE request.
|
boolean |
processGetRequest(HttpTransport httpTransport,
HttpTransportRequest request,
HttpTransportResponse response,
UriMessagingContainerMount messagingContainerMount)
Run when the HTTP transport receives a GET request.
|
boolean |
processPostRequest(HttpTransport httpTransport,
HttpTransportRequest request,
HttpTransportResponse response,
UriMessagingContainerMount messagingContainerMount)
Run when the HTTP transport receives a POST request.
|
boolean |
processPutRequest(HttpTransport httpTransport,
HttpTransportRequest request,
HttpTransportResponse response,
UriMessagingContainerMount messagingContainerMount)
Run when the HTTP transport receives a PUT request.
|
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skippublic AbstractHttpTransportInterceptor(int initPriority,
int shutdownPriority)
public AbstractHttpTransportInterceptor()
public boolean processGetRequest(HttpTransport httpTransport, HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount messagingContainerMount) throws Xdi2TransportException, IOException
HttpTransportInterceptorprocessGetRequest in interface HttpTransportInterceptorXdi2TransportExceptionIOExceptionpublic boolean processPostRequest(HttpTransport httpTransport, HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount messagingContainerMount) throws Xdi2TransportException, IOException
HttpTransportInterceptorprocessPostRequest in interface HttpTransportInterceptorXdi2TransportExceptionIOExceptionpublic boolean processPutRequest(HttpTransport httpTransport, HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount messagingContainerMount) throws Xdi2TransportException, IOException
HttpTransportInterceptorprocessPutRequest in interface HttpTransportInterceptorXdi2TransportExceptionIOExceptionpublic boolean processDeleteRequest(HttpTransport httpTransport, HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount messagingContainerMount) throws Xdi2TransportException, IOException
HttpTransportInterceptorprocessDeleteRequest in interface HttpTransportInterceptorXdi2TransportExceptionIOExceptionCopyright © 2017. All rights reserved.