Deprecated API


Contents
Deprecated Interfaces
com.sun.jersey.spi.template.TemplateProcessor
          see ViewProcessor 
 

Deprecated Enums
com.sun.jersey.api.json.JSONJAXBContext.JSONNotation
           
 

Deprecated Annotation Types
com.sun.jersey.spi.inject.Inject
          see InjectParam 
 

Deprecated Fields
com.sun.jersey.api.json.JSONJAXBContext.JSON_ARRAYS
           
com.sun.jersey.api.json.JSONJAXBContext.JSON_ATTRS_AS_ELEMS
           
com.sun.jersey.api.json.JSONJAXBContext.JSON_ENABLED
           
com.sun.jersey.api.json.JSONJAXBContext.JSON_NON_STRINGS
           
com.sun.jersey.api.json.JSONJAXBContext.JSON_NOTATION
           
com.sun.jersey.api.json.JSONJAXBContext.JSON_ROOT_UNWRAPPING
           
com.sun.jersey.api.json.JSONJAXBContext.JSON_XML2JSON_NS
           
com.sun.jersey.api.json.JSONJAXBContext.NAMESPACE
           
 

Deprecated Methods
com.sun.jersey.api.container.ContainerFactory.createContainer(Class, String)
            
com.sun.jersey.api.core.HttpRequestContext.getAcceptableMediaType(List)
          will stay in Jersey 1.x, use Request.selectVariant(java.util.List) as an alternative. 
com.sun.jersey.api.core.HttpRequestContext.getAcceptableMediaTypes(List)
          will stay in Jersey 1.x, use Request.selectVariant(java.util.List) as an alternative. 
com.sun.jersey.api.client.WebResource.getBuilder()
            
com.sun.jersey.api.client.AsyncWebResource.getBuilder()
            
com.sun.jersey.api.client.ClientResponse.getClientResponseStatus()
          Deprecated since 1.18. Use ClientResponse.getStatusInfo() which can return status type even for status codes which do not have mapping defined in ClientResponse.Status. 
com.sun.jersey.spi.container.servlet.ServletContainer.getDefaultResourceConfig(Map, ServletConfig)
          methods should implement ServletContainer.getDefaultResourceConfig(java.util.Map, com.sun.jersey.spi.container.servlet.WebConfig). 
com.sun.jersey.api.client.ClientRequest.getMetadata()
           
com.sun.jersey.api.client.ClientResponse.getMetadata()
            
com.sun.jersey.api.client.ClientResponse.getResponseStatus()
          use ClientResponse.getClientResponseStatus() 
com.sun.jersey.api.client.filter.Filterable.isFilterPreset(ClientFilter)
          use Filterable.isFilterPresent(ClientFilter) instead. 
com.sun.jersey.api.core.ScanningResourceConfig.reload()
           
com.sun.jersey.spi.template.TemplateProcessor.resolve(String)
          see ViewProcessor 
com.sun.jersey.api.client.ClientResponse.setResponseStatus(Response.StatusType)
          see ClientResponse.setStatus(javax.ws.rs.core.Response.StatusType) 
com.sun.jersey.spi.template.TemplateProcessor.writeTo(String, Object, OutputStream)
          see ViewProcessor 
 

Deprecated Enum Constants
com.sun.jersey.api.json.JSONJAXBContext.JSONNotation.BADGERFISH
           
com.sun.jersey.api.json.JSONJAXBContext.JSONNotation.MAPPED
           
com.sun.jersey.api.json.JSONJAXBContext.JSONNotation.MAPPED_JETTISON
           
com.sun.jersey.api.json.JSONJAXBContext.JSONNotation.NATURAL
           
 



Copyright © 2013 Oracle Corporation. All Rights Reserved.