Class JettyHttpExchangeDelegate
java.lang.Object
com.sun.net.httpserver.HttpExchange
org.eclipse.jetty.http.spi.JettyHttpExchangeDelegate
- All Implemented Interfaces:
Request, AutoCloseable
Jetty implementation of
HttpExchange-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getAttribute(String name) intvoidsendResponseHeaders(int rCode, long responseLength) voidsetAttribute(String name, Object value) voidsetPrincipal(HttpPrincipal principal) void
-
Method Details
-
getRequestHeaders
- Specified by:
getRequestHeadersin interfaceRequest- Specified by:
getRequestHeadersin classHttpExchange
-
getResponseHeaders
- Specified by:
getResponseHeadersin classHttpExchange
-
getRequestURI
- Specified by:
getRequestURIin interfaceRequest- Specified by:
getRequestURIin classHttpExchange
-
getRequestMethod
- Specified by:
getRequestMethodin interfaceRequest- Specified by:
getRequestMethodin classHttpExchange
-
getHttpContext
- Specified by:
getHttpContextin classHttpExchange
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classHttpExchange
-
getRequestBody
- Specified by:
getRequestBodyin classHttpExchange
-
getResponseBody
- Specified by:
getResponseBodyin classHttpExchange
-
sendResponseHeaders
- Specified by:
sendResponseHeadersin classHttpExchange- Throws:
IOException
-
getRemoteAddress
- Specified by:
getRemoteAddressin classHttpExchange
-
getResponseCode
public int getResponseCode()- Specified by:
getResponseCodein classHttpExchange
-
getLocalAddress
- Specified by:
getLocalAddressin classHttpExchange
-
getProtocol
- Specified by:
getProtocolin classHttpExchange
-
getAttribute
- Specified by:
getAttributein classHttpExchange
-
setAttribute
- Specified by:
setAttributein classHttpExchange
-
setStreams
- Specified by:
setStreamsin classHttpExchange
-
getPrincipal
- Specified by:
getPrincipalin classHttpExchange
-
setPrincipal
-