public class CoachDBInterceptor extends AbstractInterceptor
Interceptor.Flow
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT |
static String |
METHOD |
static String |
PATH |
static String |
REQUEST_CONTENT_LENGTH |
static String |
REQUEST_CONTENT_TYPE |
static String |
RESPONSE_CONTENT_LENGTH |
static String |
RESPONSE_CONTENT_TYPE |
static String |
RULE |
static String |
SERVER |
static String |
STATUS_CODE |
static String |
TIME |
ELEMENT_NAME, id, name
router
Constructor and Description |
---|
CoachDBInterceptor() |
Modifier and Type | Method and Description |
---|---|
Outcome |
handleResponse(Exchange exc) |
void |
setTargetHost(String targetHost) |
void |
setTargetPort(int targetPort) |
getDisplayName, getElementName, getFlow, getHelpId, getId, getLongDescription, getShortDescription, handleRequest, parseAttributes, setDisplayName, setFlow, setId, write, writeInterceptor
getRouter, setRouter
doAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, parseChildren, toXml, writeIfNotNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRouter, setRouter
parse
public static final String STATUS_CODE
public static final String TIME
public static final String RULE
public static final String METHOD
public static final String PATH
public static final String CLIENT
public static final String SERVER
public static final String REQUEST_CONTENT_TYPE
public static final String REQUEST_CONTENT_LENGTH
public static final String RESPONSE_CONTENT_TYPE
public static final String RESPONSE_CONTENT_LENGTH
public Outcome handleResponse(Exchange exc) throws Exception
handleResponse
in interface Interceptor
handleResponse
in class AbstractInterceptor
Exception
public void setTargetHost(String targetHost)
public void setTargetPort(int targetPort)
Copyright © 2012. All Rights Reserved.