Class ExtendedAccessLogParser
- java.lang.Object
-
- io.undertow.server.handlers.accesslog.ExtendedAccessLogParser
-
public class ExtendedAccessLogParser extends Object
Parser that transforms an extended access log format string into a Undertow access log format string.- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExtendedAccessLogParser.ExtendedAccessLogHeaderGenerator
-
Constructor Summary
Constructors Constructor Description ExtendedAccessLogParser(ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ExchangeAttribute
getClientToServerElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)
protected ExchangeAttribute
getLogElement(String token, io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)
protected ExchangeAttribute
getProxyElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)
protected ExchangeAttribute
getServerToClientElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)
protected ExchangeAttribute
getServletRequestElement(String parameter)
protected ExchangeAttribute
getXParameterElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer)
ExchangeAttribute
parse(String pattern)
-
-
-
Constructor Detail
-
ExtendedAccessLogParser
public ExtendedAccessLogParser(ClassLoader classLoader)
-
-
Method Detail
-
parse
public ExchangeAttribute parse(String pattern)
-
getLogElement
protected ExchangeAttribute getLogElement(String token, io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer) throws IOException
- Throws:
IOException
-
getClientToServerElement
protected ExchangeAttribute getClientToServerElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer) throws IOException
- Throws:
IOException
-
getServerToClientElement
protected ExchangeAttribute getServerToClientElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer) throws IOException
- Throws:
IOException
-
getProxyElement
protected ExchangeAttribute getProxyElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer) throws IOException
- Throws:
IOException
-
getXParameterElement
protected ExchangeAttribute getXParameterElement(io.undertow.server.handlers.accesslog.ExtendedAccessLogParser.PatternTokenizer tokenizer) throws IOException
- Throws:
IOException
-
getServletRequestElement
protected ExchangeAttribute getServletRequestElement(String parameter)
-
-