Uses of Class
com.sun.net.httpserver.Filter
Packages that use Filter
Package
Description
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
-
Uses of Filter in com.sun.net.httpserver
Methods in com.sun.net.httpserver that return FilterModifier and TypeMethodDescriptionstatic FilterFilter.adaptRequest(String description, UnaryOperator<Request> requestOperator) Returns a pre-processing Filter that inspects and possibly adapts the request state.static FilterFilter.afterHandler(String description, Consumer<HttpExchange> operation) Returns a post-processingFilterwith the given description and operation.static FilterFilter.beforeHandler(String description, Consumer<HttpExchange> operation) Returns a pre-processingFilterwith the given description and operation.static FilterSimpleFileServer.createOutputFilter(OutputStream out, SimpleFileServer.OutputLevel outputLevel) Creates a post-processing Filter that prints log messages about exchanges.Methods in com.sun.net.httpserver that return types with arguments of type FilterMethods in com.sun.net.httpserver with parameters of type FilterModifier and TypeMethodDescriptionstatic HttpServerHttpServer.create(InetSocketAddress addr, int backlog, String path, HttpHandler handler, Filter... filters) Creates anHttpServerinstance with an initial context.static HttpsServerHttpsServer.create(InetSocketAddress addr, int backlog, String path, HttpHandler handler, Filter... filters) Creates anHttpsServerinstance with an initial context.Constructor parameters in com.sun.net.httpserver with type arguments of type FilterModifierConstructorDescriptionChain(List<Filter> filters, HttpHandler handler) Creates aChaininstance with given filters and handler.