Package ch.qos.logback.access.jetty
Class JettyModernServerAdapter
java.lang.Object
ch.qos.logback.access.jetty.JettyServerAdapter
ch.qos.logback.access.jetty.JettyModernServerAdapter
- All Implemented Interfaces:
ServerAdapter
A Jetty 9.4.x and 10.0.x specific implementation of the
ServerAdapter
interface.- Author:
- Sébastien Pennec, Ceki Gulcu, Joakim Erdfelt
-
Constructor Summary
ConstructorDescriptionJettyModernServerAdapter
(org.eclipse.jetty.server.Request jettyRequest, org.eclipse.jetty.server.Response jettyResponse) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
int
-
Constructor Details
-
JettyModernServerAdapter
public JettyModernServerAdapter(org.eclipse.jetty.server.Request jettyRequest, org.eclipse.jetty.server.Response jettyResponse)
-
-
Method Details
-
getContentLength
- Specified by:
getContentLength
in interfaceServerAdapter
- Overrides:
getContentLength
in classJettyServerAdapter
-
getStatusCode
- Specified by:
getStatusCode
in interfaceServerAdapter
- Overrides:
getStatusCode
in classJettyServerAdapter
-
getRequestTimestamp
- Specified by:
getRequestTimestamp
in interfaceServerAdapter
- Overrides:
getRequestTimestamp
in classJettyServerAdapter
-
buildResponseHeaderMap
- Specified by:
buildResponseHeaderMap
in interfaceServerAdapter
- Overrides:
buildResponseHeaderMap
in classJettyServerAdapter
-