Deprecated API


Contents
Deprecated Classes
org.restlet.representation.DigestRepresentation
          See DigesterRepresentation instead. 
org.restlet.security.Guard
          Use the ChallengeAuthenticator class instead. 
org.restlet.resource.Handler
          Use the new ServerResource class instead. 
org.restlet.resource.Resource
          Use the new ServerResource class instead. 
org.restlet.routing.Route
          Use TemplateRoute instead. 
 

Deprecated Fields
org.restlet.data.MediaType.APPLICATION_ATOM_SERVICE_XML
          Use MediaType.APPLICATION_ATOMPUB_SERVICE instead. 
org.restlet.data.MediaType.APPLICATION_ATOM_XML
          Use MediaType.APPLICATION_ATOMPUB_SERVICE instead. 
org.restlet.data.MediaType.APPLICATION_MATHML_XML
          Use MediaType.APPLICATION_MATHML instead. 
org.restlet.data.MediaType.APPLICATION_RSS_XML
          Use MediaType.APPLICATION_RSS instead. 
org.restlet.data.MediaType.APPLICATION_W3C_SCHEMA_XML
          Use MediaType.APPLICATION_W3C_SCHEMA instead. 
org.restlet.data.MediaType.APPLICATION_WADL_XML
          Use MediaType.APPLICATION_WADL instead. 
org.restlet.data.MediaType.APPLICATION_XHTML_XML
          Use MediaType.APPLICATION_XHTML instead. 
org.restlet.routing.Router.BEST
          Use Router.MODE_BEST_MATCH instead. 
org.restlet.routing.Router.CUSTOM
          Use Router.MODE_CUSTOM instead. 
org.restlet.routing.Router.FIRST
          Use Router.MODE_FIRST_MATCH instead. 
org.restlet.routing.Router.LAST
          Use Router.MODE_LAST_MATCH instead. 
org.restlet.routing.Redirector.MODE_DISPATCHER
          Use the Redirector.MODE_SERVER_OUTBOUND instead. 
org.restlet.routing.Router.NEXT
          Use Router.MODE_NEXT_MATCH instead. 
org.restlet.routing.Router.RANDOM
          Use Router.MODE_RANDOM_MATCH instead. 
 

Deprecated Methods
org.restlet.representation.Representation.checkDigest()
          Use a DigesterRepresentation instead. 
org.restlet.util.WrapperRepresentation.checkDigest()
           
org.restlet.representation.Representation.checkDigest(String)
          Use a DigesterRepresentation instead. 
org.restlet.util.WrapperRepresentation.checkDigest(String)
           
org.restlet.representation.Representation.computeDigest(String)
          Use a DigesterRepresentation instead. 
org.restlet.util.WrapperRepresentation.computeDigest(String)
           
org.restlet.representation.Representation.createEmpty()
          Use EmptyRepresentation instead. 
org.restlet.Application.createRoot()
          Override the Application.createInboundRoot() method instead. 
org.restlet.resource.Finder.createTarget(Class, Request, Response)
          Use Finder.create(Request, Response) instead. 
org.restlet.resource.Finder.createTarget(Request, Response)
          Use Finder.create(Request, Response) instead. 
org.restlet.resource.Finder.findTarget(Request, Response)
          Use Finder.find(Request, Response) instead. 
org.restlet.data.ClientInfo.getAddresses()
          Use the ClientInfo.getForwardedAddresses() method instead. 
org.restlet.data.ChallengeResponse.getCredentials()
          Use ChallengeMessage.getRawValue() instead. 
org.restlet.routing.Router.getDefaultMatchQuery()
          Use Router.getDefaultMatchingQuery() instead. 
org.restlet.representation.Representation.getDownloadName()
          Use the "disposition" attribute instead. 
org.restlet.util.WrapperRepresentation.getDownloadName()
           
org.restlet.Message.getEntityAsForm()
          Will be removed in future release 2.1. 
org.restlet.util.WrapperResponse.getEntityAsForm()
          Will be removed in future release 2.1. 
org.restlet.util.WrapperRequest.getEntityAsForm()
          Will be removed in future release 2.1. 
org.restlet.representation.Variant.getIdentifier()
          Use Variant.getLocationRef() instead. 
org.restlet.routing.TemplateRoute.getMatchQuery()
          Use TemplateRoute.isMatchingQuery() instead. 
org.restlet.data.ClientInfo.getPreferredVariant(Resource, MetadataService)
          Used ClientInfo.getPreferredVariant(List, org.restlet.service.MetadataService) instead. 
org.restlet.Application.getRoot()
          Use the Application.getInboundRoot() method instead. 
org.restlet.Server.getTarget()
          Use the Server.getNext() method instead. 
org.restlet.util.ServerList.getTarget()
          Use the ServerList.getNext() method instead. 
org.restlet.Server.hasTarget()
          Use the Server.hasNext() method instead. 
org.restlet.data.ServerInfo.isAcceptRanges()
          Use ServerInfo.isAcceptingRanges() instead. 
org.restlet.data.ChallengeResponse.isAuthenticated()
          Use ClientInfo.isAuthenticated() instead. 
org.restlet.representation.FileRepresentation.isAutoDelete()
          Use FileRepresentation.isAutoDeleting() instead. 
org.restlet.routing.Variable.isDecodedOnParse()
          Use Variable.isDecodingOnParse() instead. 
org.restlet.representation.Representation.isDownloadable()
          Use the "disposition" attribute instead. 
org.restlet.util.WrapperRepresentation.isDownloadable()
           
org.restlet.routing.Variable.isEncodedOnFormat()
          Use Variable.isEncodingOnFormat() instead. 
org.restlet.routing.Template.isEncodeVariables()
          Use Template.isEncodingVariables() instead. 
org.restlet.resource.Directory.isNegotiateContent()
          Use Directory.isNegotiatingContent() instead. 
org.restlet.service.StatusService.isOverwrite()
          Use StatusService.isOverwriting() instead. 
org.restlet.routing.Redirector.redirectDispatcher(Reference, Request, Response)
          Use Redirector.outboundServerRedirect(Reference, Request, Response) instead. 
org.restlet.data.ServerInfo.setAcceptRanges(boolean)
          Use ServerInfo.setAcceptingRanges(boolean) instead. 
org.restlet.data.ClientInfo.setAddresses(List)
          See the ClientInfo.setForwardedAddresses(List) method instead. 
org.restlet.data.ChallengeResponse.setAuthenticated(boolean)
          Use ClientInfo.setAuthenticated(boolean) instead. 
org.restlet.representation.FileRepresentation.setAutoDelete(boolean)
          Use FileRepresentation.setAutoDeleting(boolean) instead. 
org.restlet.Response.setChallengeRequest(ChallengeRequest)
          Add request to Response.getChallengeRequests() method result instead or use Response.setChallengeRequests(List). 
org.restlet.util.WrapperResponse.setChallengeRequest(ChallengeRequest)
           
org.restlet.data.ChallengeResponse.setCredentials(String)
          Use ChallengeMessage.getRawValue() instead. 
org.restlet.routing.Variable.setDecodedOnParse(boolean)
          Use Variable.setDecodingOnParse(boolean) instead. 
org.restlet.routing.Router.setDefaultMatchQuery(boolean)
          Use Router.setDefaultMatchingQuery(boolean) instead. 
org.restlet.representation.Representation.setDownloadable(boolean)
          Use the "disposition" attribute instead. 
org.restlet.util.WrapperRepresentation.setDownloadable(boolean)
           
org.restlet.representation.Representation.setDownloadName(String)
          Use the "disposition" attribute instead. 
org.restlet.util.WrapperRepresentation.setDownloadName(String)
           
org.restlet.routing.Variable.setEncodedOnFormat(boolean)
          Use Variable.setEncodingOnFormat(boolean) instead. 
org.restlet.routing.Template.setEncodeVariables(boolean)
          Use Template.setEncodingVariables(boolean) instead. 
org.restlet.representation.Variant.setIdentifier(Reference)
          Use Variant.setLocationRef(Reference) instead 
org.restlet.representation.Variant.setIdentifier(String)
          Use Variant.setLocationRef(String) instead. 
org.restlet.routing.TemplateRoute.setMatchQuery(boolean)
          Use TemplateRoute.setMatchingQuery(boolean) instead. 
org.restlet.resource.Directory.setNegotiateContent(boolean)
          Use Directory.setNegotiatingContent(boolean) instead. 
org.restlet.service.StatusService.setOverwrite(boolean)
          Use StatusService.setOverwriting(boolean) instead. 
org.restlet.Application.setRoot(Class)
          Use the Application.setInboundRoot(Class) method instead. 
org.restlet.Application.setRoot(Restlet)
          Use the Application.setInboundRoot(Restlet) method instead. 
org.restlet.Server.setTarget(Restlet)
          Use the Server.setNext(Restlet) method instead. 
org.restlet.util.ServerList.setTarget(Restlet)
          Use the ServerList.setNext(Restlet) method instead. 
org.restlet.data.Method.setUri(String)
          Method instances are shared by all Restlet applications and shouldn't be modifiable. 
 

Deprecated Constructors
org.restlet.data.ChallengeResponse(ChallengeScheme, String)
          Use ChallengeMessage.setRawValue(String) instead. 
 



Copyright © 2005-2011 Noelios Technologies.