A B C D H I M O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addProxyCompleteListener(ProxyCompleteListener) - Method in class io.muserver.murp.ReverseProxyBuilder
-
Registers a proxy completion listener.
- artifactVersion() - Static method in class io.muserver.murp.Murp
-
Returns the current version of Murp, or 0.x if unknown
B
- build() - Method in class io.muserver.murp.ReverseProxyBuilder
-
Creates a new ReverseProxy which is a MuHandler.
C
- createHttpClientBuilder(boolean) - Static method in class io.muserver.murp.ReverseProxyBuilder
-
Creates a new HTTP Client builder that is suitable for use in mu reverse proxy.
D
- discardClientForwardedHeaders(boolean) - Method in class io.muserver.murp.ReverseProxyBuilder
-
If true, then any
ForwardedorX-Forwarded-*headers that are sent from the client to this reverse proxy will be dropped (defaults to false).
H
- handle(MuRequest, MuResponse) - Method in class io.muserver.murp.ReverseProxy
- HOP_BY_HOP_HEADERS - Static variable in class io.muserver.murp.ReverseProxy
-
An unmodifiable set of the Hop By Hop headers.
I
- intercept(MuRequest, HttpRequest.Builder) - Method in interface io.muserver.murp.RequestInterceptor
-
This function is called after Murp prepared the request object to the target server, but before it is sent, allowing you to modify request headers.
- intercept(MuRequest, HttpRequest, HttpResponse.ResponseInfo, MuResponse) - Method in interface io.muserver.murp.ResponseInterceptor
-
This function is called after the response from the target is received, and the response headers for the client are called.
- io.muserver.murp - package io.muserver.murp
-
A reverse proxy handler for Mu Server.
M
- mapFrom(MuRequest) - Method in interface io.muserver.murp.UriMapper
-
Gets a URI to proxy to based on the given request.
- Murp - Class in io.muserver.murp
-
Some utilities for the reverse proxy.
O
- onComplete(MuRequest, MuResponse, URI, long) - Method in interface io.muserver.murp.ProxyCompleteListener
-
Called after the response has been sent to the client, whether successful or not
- onComplete(MuRequest, MuResponse, URI, long) - Method in class io.muserver.murp.Slf4jResponseLogger
-
Called after the response has been sent to the client, whether successful or not
P
- pathAndQuery(URI) - Static method in class io.muserver.murp.Murp
-
Given a gets the raw path and (if present) querystring portion of a URI.
- ProxyCompleteListener - Interface in io.muserver.murp
-
A listener for when proxied requests complete
- proxyHostHeader(boolean) - Method in class io.muserver.murp.ReverseProxyBuilder
-
Specifies whether or not to send the original
Hostheader to the target server.
R
- RequestInterceptor - Interface in io.muserver.murp
-
A hook for intercepting requests before they are sent to the target server.
- ResponseInterceptor - Interface in io.muserver.murp
-
A hook for intercepting responses before they are sent back to the client.
- reverseProxy() - Static method in class io.muserver.murp.ReverseProxyBuilder
-
Creates and returns a new instance of a reverse proxy builder.
- ReverseProxy - Class in io.muserver.murp
-
The core implementation for ReverseProxy
- ReverseProxyBuilder - Class in io.muserver.murp
-
A builder for creating a reverse proxy, which is a
MuHandlerthat can be added to a Mu Server.
S
- sendLegacyForwardedHeaders(boolean) - Method in class io.muserver.murp.ReverseProxyBuilder
-
Murp always sends
Forwardedheaders, however by default does not send the non-standardX-Forwarded-*headers. - setForwardedHeaders(MuRequest, HttpRequest.Builder, boolean, boolean) - Static method in class io.muserver.murp.ReverseProxy
-
Sets Forwarded and optionally X-Forwarded-* headers to the target request, based on the client request
- Slf4jResponseLogger - Class in io.muserver.murp
-
A listener that logs the results of proxying to slf4j which can be added with
ReverseProxyBuilder.addProxyCompleteListener(ProxyCompleteListener) - Slf4jResponseLogger() - Constructor for class io.muserver.murp.Slf4jResponseLogger
-
Default constructor
T
- toDomain(URI) - Static method in interface io.muserver.murp.UriMapper
-
Creates a mapper that directs all requests to a new target domain.
U
- UriMapper - Interface in io.muserver.murp
-
A function that maps an incoming request to a target URI.
W
- withHttpClient(HttpClient) - Method in class io.muserver.murp.ReverseProxyBuilder
-
Specifies the JDK HTTP client to use to make the request to the target server.
- withRequestInterceptor(RequestInterceptor) - Method in class io.muserver.murp.ReverseProxyBuilder
-
Adds an interceptor to the point where a request to the target server has been prepared, but not sent.
- withResponseInterceptor(ResponseInterceptor) - Method in class io.muserver.murp.ReverseProxyBuilder
-
Adds an interceptor to the point where a response to the client has been prepared, but not sent.
- withTotalTimeout(long) - Method in class io.muserver.murp.ReverseProxyBuilder
-
Sets the total request timeout in millis for a proxied request.
- withTotalTimeout(long, TimeUnit) - Method in class io.muserver.murp.ReverseProxyBuilder
-
Sets the total request timeout in millis for a proxied request.
- withUriMapper(UriMapper) - Method in class io.muserver.murp.ReverseProxyBuilder
-
Required value.
- withViaName(String) - Method in class io.muserver.murp.ReverseProxyBuilder
-
The name to add as the
Viaheader, which defaults toprivate.
All Classes All Packages