
public class RedirectHttpTransportInterceptor extends AbstractHttpTransportInterceptor
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_LOCATION |
static int |
DEFAULT_STATUS |
DEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY| Constructor and Description |
|---|
RedirectHttpTransportInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLocation() |
int |
getStatus() |
boolean |
processGetRequest(HttpTransport httpTransport,
HttpTransportRequest request,
HttpTransportResponse response,
UriMessagingContainerMount messagingContainerMount)
Run when the HTTP transport receives a GET request.
|
void |
setLocation(String location) |
void |
setStatus(int status) |
processDeleteRequest, processPostRequest, processPutRequestclearDisabled, 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 static final int DEFAULT_STATUS
public static final String DEFAULT_LOCATION
public boolean processGetRequest(HttpTransport httpTransport, HttpTransportRequest request, HttpTransportResponse response, UriMessagingContainerMount messagingContainerMount) throws Xdi2TransportException, IOException
HttpTransportInterceptorprocessGetRequest in interface HttpTransportInterceptorprocessGetRequest in class AbstractHttpTransportInterceptorXdi2TransportExceptionIOExceptionpublic int getStatus()
public void setStatus(int status)
public String getLocation()
public void setLocation(String location)
Copyright © 2017. All rights reserved.