Class 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 the Content-Type header to ""application/json"" if not already set.
    • Constructor Detail

      • JsonMediaTypeFilter

        protected JsonMediaTypeFilter()
    • 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 interface com.sun.jersey.api.client.ClientHandler
        Specified by:
        handle in class com.sun.jersey.api.client.filter.ClientFilter
        Throws:
        com.sun.jersey.api.client.ClientHandlerException