Uses of Class
httpserver.core.HttpServerExchange
Packages that use HttpServerExchange
-
Uses of HttpServerExchange in httpserver
Methods in httpserver with parameters of type HttpServerExchange -
Uses of HttpServerExchange in httpserver.core
Methods in httpserver.core with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionvoidSessionStore.deleteSession(HttpServerExchange exchange) static voidRequestParsing.discardRemainingRequestBody(HttpServerExchange exchange) booleanSessionStore.existsSession(HttpServerExchange exchange) static longInputParser.getMandatoryLong(HttpServerExchange exchange, String parameter) SessionStore.getSession(HttpServerExchange exchange) SessionStore.getSession(HttpServerExchange exchange, T defaultValue) static StringSessionStore.getValueForCookie(HttpServerExchange exchange, String cookieName) static FormDataFormData.parseForm(HttpServerExchange exchange, Charset charset) static ResponseBuilderResponseBuilder.respond(HttpServerExchange exchange) static ResponseBuilderResponseBuilder.respond(HttpServerExchange exchange, Function<Object, String> toJson) voidSessionStore.setSession(HttpServerExchange exchange, T session) -
Uses of HttpServerExchange in httpserver.error
Methods in httpserver.error with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionvoidHttpError.processExchange(HttpServerExchange exchange) voidInvalidInput.processExchange(HttpServerExchange exchange) static voidHttpError.respondError(HttpServerExchange exchange, int statusCode, int errorCode, String message) static voidHttpError.respondInternalError(HttpServerExchange exchange) -
Uses of HttpServerExchange in httpserver.handlers
Methods in httpserver.handlers with parameters of type HttpServerExchangeModifier and TypeMethodDescriptionstatic booleanCompression.acceptsEncoding(HttpServerExchange exchange, String encoding) static voidCompression.compressDeflate(HttpServerExchange exchange) static voidCompression.compressGzip(HttpServerExchange exchange) voidMethodPathRouting.handleRequest(HttpServerExchange exchange) voidServerSentEvents.handleRequest(HttpServerExchange exchange)