Deprecated API


Contents
Deprecated Interfaces
org.restlet.ext.jaxrs.RoleChecker
          Use the new Restlet security model instead. 
 

Deprecated Classes
org.restlet.ext.wadl.FaultInfo
          This element has been removed from the WADL specification. 
org.restlet.ext.gwt.GwtShellServletWrapper
          The hosted mode has been removed in GWT 2.0 
org.restlet.ext.xml.NodeSet
          Use NodeList instead. 
org.restlet.ext.servlet.ServletConverter
          Use ServletAdapter instead. 
org.restlet.ext.wadl.WadlResource
          Use the WadlServerResource class instead 
org.restlet.ext.xdb.XdbServletConverter
          Use XdbServletAdapter instead 
 

Deprecated Methods
org.restlet.ext.wadl.MethodInfo.addFault(Status, MediaType, String)
          Use the ResponseInfo.getRepresentations() method instead. 
org.restlet.ext.wadl.MethodInfo.addRequestParameter(String, boolean, String, ParameterStyle, String)
          Use RequestInfo.getParameters() instead. 
org.restlet.ext.wadl.MethodInfo.addRequestRepresentation(Variant)
          Use RequestInfo.getRepresentations() instead. 
org.restlet.ext.wadl.MethodInfo.addResponseParameter(String, boolean, String, ParameterStyle, String)
          Use the ResponseInfo.getParameters() method instead. 
org.restlet.ext.wadl.MethodInfo.addResponseRepresentation(Variant)
          Use ResponseInfo.getRepresentations() instead. 
org.restlet.ext.xml.XmlRepresentation.evaluate(String, QName)
          Use the XmlRepresentation.getBoolean(String), XmlRepresentation.getNumber(String), XmlRepresentation.getText(String), XmlRepresentation.getNode(String) and XmlRepresentation.getNodes(String) methods instead. 
org.restlet.ext.spring.RestletFrameworkServlet.getConverter()
          Use RestletFrameworkServlet.getAdapter() instead. 
org.restlet.ext.jibx.JibxRepresentation.getEncoding()
          Use Variant.getCharacterSet() instead. 
org.restlet.ext.wadl.ResponseInfo.getFaults()
          According to new WADL specification, the fault element has been removed. 
org.restlet.ext.json.JsonRepresentation.getIndentSize()
          Use JsonRepresentation.getIndentingSize() instead. 
org.restlet.ext.jaxb.JaxbRepresentation.getInputSource()
            
org.restlet.ext.jibx.JibxRepresentation.getInputSource()
            
org.restlet.ext.jaxrs.JaxRsApplication.getRoleChecker()
          Use ClientInfo.getRoles() instead 
org.restlet.ext.jaxrs.JaxRsRestlet.getRoleChecker()
          Use ClientInfo.getRoles() instead 
org.restlet.ext.jaxb.JaxbRepresentation.getSaxSource()
          Use JaxbRepresentation.getJaxbSource() instead. 
org.restlet.ext.spring.SpringBeanFinder.getSpringBeanRouter()
          Use SpringBeanFinder.getRouter() instead 
org.restlet.ext.wadl.RepresentationInfo.getStatuses()
          According to new WADL specification, this method has been moved to the ResponseInfo class. 
org.restlet.ext.wadl.WadlApplication.getTitle()
          Use Restlet.getName() instead 
org.restlet.ext.spring.SpringBeanRouter.isFindInAncestors()
          Use SpringBeanRouter.isFindingInAncestors() instead. 
org.restlet.ext.json.JsonRepresentation.isIndent()
          Use JsonRepresentation.isIndenting() instead. 
org.restlet.ext.xml.DomRepresentation.isIndent()
          Use DomRepresentation.isIndenting() instead. 
org.restlet.ext.atom.Relation.parse(String)
          Use the Relation.valueOf(String) method instead. 
org.restlet.ext.xml.XmlRepresentation.putNamespace(String, String)
          Use the modifiable map returned by XmlRepresentation.getNamespaces() 
org.restlet.ext.jaxrs.JaxRsApplication.setAuthentication(Authenticator, RoleChecker)
          Use ClientInfo.getRoles() instead 
org.restlet.ext.jibx.JibxRepresentation.setEncoding(String)
          Use Variant.setCharacterSet(CharacterSet) instead. 
org.restlet.ext.wadl.ResponseInfo.setFaults(List)
          According to new WADL specification, the fault element has been removed. 
org.restlet.ext.spring.SpringBeanRouter.setFindInAncestors(boolean)
          Use SpringBeanRouter.setFindingInAncestors(boolean) instead. 
org.restlet.ext.jaxrs.JaxRsApplication.setGuard(Guard)
          Use the JaxRsApplication.setGuard(Authenticator) method instead. 
org.restlet.ext.json.JsonRepresentation.setIndent(boolean)
          Use JsonRepresentation.setIndenting(boolean) instead. 
org.restlet.ext.xml.DomRepresentation.setIndent(boolean)
          Use DomRepresentation.setIndenting(boolean) instead. 
org.restlet.ext.json.JsonRepresentation.setIndentSize(int)
          Use JsonRepresentation.setIndentingSize(int) instead 
org.restlet.ext.wadl.MethodInfo.setResponsee(ResponseInfo)
          Use the MethodInfo.getResponses() or MethodInfo.setResponses(List) methods instead. 
org.restlet.ext.jaxrs.JaxRsApplication.setRoleChecker(RoleChecker)
          Use ClientInfo.getRoles() instead 
org.restlet.ext.jaxrs.JaxRsRestlet.setRoleChecker(RoleChecker)
          Use ClientInfo.getRoles() instead 
org.restlet.ext.wadl.RepresentationInfo.setStatuses(List)
          According to new WADL specification, this method has been moved to the ResponseInfo class. 
org.restlet.ext.wadl.WadlApplication.setTitle(String)
          Use Restlet.setName(String) instead 
org.restlet.ext.json.JsonRepresentation.toJsonArray()
          Use JsonRepresentation.getJsonArray() instead. 
org.restlet.ext.json.JsonRepresentation.toJsonObject()
          Use JsonRepresentation.getJsonObject() instead. 
org.restlet.ext.json.JsonRepresentation.toJsonTokener()
          Use JsonRepresentation.getJsonTokener() instead. 
 



Copyright © 2005-2011 Noelios Technologies.