public class LogInterceptor extends AbstractInterceptor
Modifier and Type | Class and Description |
---|---|
static class |
LogInterceptor.Level |
Interceptor.Flow
ELEMENT_NAME, id, name
router
Constructor and Description |
---|
LogInterceptor() |
Modifier and Type | Method and Description |
---|---|
String |
getCategory() |
String |
getHelpId() |
LogInterceptor.Level |
getLevel() |
String |
getShortDescription() |
Outcome |
handleRequest(Exchange exc) |
Outcome |
handleResponse(Exchange exc) |
boolean |
isHeaderOnly() |
protected void |
parseAttributes(XMLStreamReader token) |
void |
setCategory(String category) |
void |
setHeaderOnly(boolean headerOnly) |
void |
setLevel(LogInterceptor.Level level) |
protected void |
writeInterceptor(XMLStreamWriter out) |
getDisplayName, getElementName, getFlow, getId, getLongDescription, setDisplayName, setFlow, setId, write
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 Outcome handleRequest(Exchange exc) throws Exception
handleRequest
in interface Interceptor
handleRequest
in class AbstractInterceptor
Exception
public Outcome handleResponse(Exchange exc) throws Exception
handleResponse
in interface Interceptor
handleResponse
in class AbstractInterceptor
Exception
protected void parseAttributes(XMLStreamReader token) throws Exception
parseAttributes
in class AbstractInterceptor
Exception
protected void writeInterceptor(XMLStreamWriter out) throws XMLStreamException
writeInterceptor
in class AbstractInterceptor
XMLStreamException
public boolean isHeaderOnly()
public void setHeaderOnly(boolean headerOnly)
public LogInterceptor.Level getLevel()
public void setLevel(LogInterceptor.Level level)
public String getCategory()
public void setCategory(String category)
public String getShortDescription()
getShortDescription
in interface Interceptor
getShortDescription
in class AbstractInterceptor
public String getHelpId()
getHelpId
in interface Interceptor
getHelpId
in class AbstractInterceptor
Copyright © 2012. All Rights Reserved.