Class BackdoorControl.JsonMediaTypeFilter
- java.lang.Object
-
- com.sun.jersey.api.client.filter.ClientFilter
-
- com.atlassian.bamboo.testutils.backdoor.BackdoorControl.JsonMediaTypeFilter
-
- All Implemented Interfaces:
com.sun.jersey.api.client.ClientHandler
- Enclosing class:
- BackdoorControl<T extends BackdoorControl<T>>
protected static class BackdoorControl.JsonMediaTypeFilter extends com.sun.jersey.api.client.filter.ClientFilter
Sets theContent-Type
header to ""application/json"" if not already set.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JsonMediaTypeFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.jersey.api.client.ClientResponse
handle(com.sun.jersey.api.client.ClientRequest request)
-
-
-
Method Detail
-
handle
public com.sun.jersey.api.client.ClientResponse handle(com.sun.jersey.api.client.ClientRequest request) throws com.sun.jersey.api.client.ClientHandlerException
- Specified by:
handle
in interfacecom.sun.jersey.api.client.ClientHandler
- Specified by:
handle
in classcom.sun.jersey.api.client.filter.ClientFilter
- Throws:
com.sun.jersey.api.client.ClientHandlerException
-
-