public abstract class AbstractHttpTransportInterceptor extends AbstractInterceptor<Transport<?,?>> implements HttpTransportInterceptor
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator
DEFAULT_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, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skip
public AbstractHttpTransportInterceptor(int initPriority, int shutdownPriority)
public AbstractHttpTransportInterceptor()
public boolean processGetRequest(HttpTransport httpTransport, HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount messagingContainerMount) throws Xdi2TransportException, IOException
HttpTransportInterceptor
processGetRequest
in interface HttpTransportInterceptor
Xdi2TransportException
IOException
public boolean processPostRequest(HttpTransport httpTransport, HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount messagingContainerMount) throws Xdi2TransportException, IOException
HttpTransportInterceptor
processPostRequest
in interface HttpTransportInterceptor
Xdi2TransportException
IOException
public boolean processPutRequest(HttpTransport httpTransport, HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount messagingContainerMount) throws Xdi2TransportException, IOException
HttpTransportInterceptor
processPutRequest
in interface HttpTransportInterceptor
Xdi2TransportException
IOException
public boolean processDeleteRequest(HttpTransport httpTransport, HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount messagingContainerMount) throws Xdi2TransportException, IOException
HttpTransportInterceptor
processDeleteRequest
in interface HttpTransportInterceptor
Xdi2TransportException
IOException
Copyright © 2017. All rights reserved.