@Path(value="/") public class InterceptorResource extends Object
Constructor and Description |
---|
InterceptorResource(InterceptorConfiguration interceptorConfiguration)
Constructor
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
handleHeadElasticRequestFromKibana(javax.ws.rs.core.UriInfo info,
String url,
javax.servlet.http.HttpServletRequest req,
javax.ws.rs.core.HttpHeaders headers)
Juste Filter the request not the response
|
javax.ws.rs.core.Response |
process(String url,
javax.ws.rs.core.UriInfo info,
javax.servlet.http.HttpServletRequest req,
javax.ws.rs.core.HttpHeaders headers)
Filter kibana request and response
|
public InterceptorResource(InterceptorConfiguration interceptorConfiguration)
@HEAD @Path(value="{url: .*}") public javax.ws.rs.core.Response handleHeadElasticRequestFromKibana(@Context javax.ws.rs.core.UriInfo info, @PathParam(value="url") String url, @Context javax.servlet.http.HttpServletRequest req, @Context javax.ws.rs.core.HttpHeaders headers)
url
- urlinfo
- UriInforeq
- HttpServletRequestheaders
- HttpHeaders@GET @POST @OPTIONS @DELETE @PUT @Path(value="{url: .*}") public javax.ws.rs.core.Response process(@PathParam(value="url") String url, @Context javax.ws.rs.core.UriInfo info, @Context javax.servlet.http.HttpServletRequest req, @Context javax.ws.rs.core.HttpHeaders headers) throws IOException
url
- urlinfo
- UriInforeq
- HttpServletRequestheaders
- HttpHeadersIOException
- IOExceptionCopyright © 2018 Vitam. All rights reserved.