Package org.eclipse.jetty.http.spi
Class JettyHttpExchangeDelegate
java.lang.Object
com.sun.net.httpserver.HttpExchange
org.eclipse.jetty.http.spi.JettyHttpExchangeDelegate
- All Implemented Interfaces:
AutoCloseable
Jetty implementation of
HttpExchange
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getAttribute
(String name) int
void
sendResponseHeaders
(int rCode, long responseLength) void
setAttribute
(String name, Object value) void
setPrincipal
(HttpPrincipal principal) void
-
Method Details
-
getRequestHeaders
- Specified by:
getRequestHeaders
in classHttpExchange
-
getResponseHeaders
- Specified by:
getResponseHeaders
in classHttpExchange
-
getRequestURI
- Specified by:
getRequestURI
in classHttpExchange
-
getRequestMethod
- Specified by:
getRequestMethod
in classHttpExchange
-
getHttpContext
- Specified by:
getHttpContext
in classHttpExchange
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classHttpExchange
-
getRequestBody
- Specified by:
getRequestBody
in classHttpExchange
-
getResponseBody
- Specified by:
getResponseBody
in classHttpExchange
-
sendResponseHeaders
- Specified by:
sendResponseHeaders
in classHttpExchange
- Throws:
IOException
-
getRemoteAddress
- Specified by:
getRemoteAddress
in classHttpExchange
-
getResponseCode
public int getResponseCode()- Specified by:
getResponseCode
in classHttpExchange
-
getLocalAddress
- Specified by:
getLocalAddress
in classHttpExchange
-
getProtocol
- Specified by:
getProtocol
in classHttpExchange
-
getAttribute
- Specified by:
getAttribute
in classHttpExchange
-
setAttribute
- Specified by:
setAttribute
in classHttpExchange
-
setStreams
- Specified by:
setStreams
in classHttpExchange
-
getPrincipal
- Specified by:
getPrincipal
in classHttpExchange
-
setPrincipal
-