Deprecated API


Contents
Deprecated Fields
org.restlet.client.data.MediaType.APPLICATION_XHTML_XML
          Use MediaType.APPLICATION_XHTML instead. 
 

Deprecated Methods
org.restlet.client.representation.Representation.createEmpty()
          Use EmptyRepresentation instead. 
org.restlet.client.data.ClientInfo.getAddresses()
          Use the ClientInfo.getForwardedAddresses() method instead. 
org.restlet.client.data.ChallengeResponse.getCredentials()
          Use ChallengeMessage.getRawValue() instead. 
org.restlet.client.representation.Representation.getDownloadName()
          Use the "disposition" attribute instead. 
org.restlet.client.util.WrapperRepresentation.getDownloadName()
           
org.restlet.client.Message.getEntityAsForm()
          Will be removed in future release 2.1. 
org.restlet.client.util.WrapperResponse.getEntityAsForm()
          Will be removed in future release 2.1. 
org.restlet.client.util.WrapperRequest.getEntityAsForm()
          Will be removed in future release 2.1. 
org.restlet.client.representation.Variant.getIdentifier()
          Use Variant.getLocationRef() instead. 
org.restlet.client.data.ServerInfo.isAcceptRanges()
          Use ServerInfo.isAcceptingRanges() instead. 
org.restlet.client.data.ChallengeResponse.isAuthenticated()
          Use ClientInfo#isAuthenticated() instead. 
org.restlet.client.representation.Representation.isDownloadable()
          Use the "disposition" attribute instead. 
org.restlet.client.util.WrapperRepresentation.isDownloadable()
           
org.restlet.client.service.StatusService.isOverwrite()
          Use StatusService.isOverwriting() instead. 
org.restlet.client.data.ServerInfo.setAcceptRanges(boolean)
          Use ServerInfo.setAcceptingRanges(boolean) instead. 
org.restlet.client.data.ClientInfo.setAddresses(List)
          See the ClientInfo.setForwardedAddresses(List) method instead. 
org.restlet.client.data.ChallengeResponse.setAuthenticated(boolean)
          Use ClientInfo#setAuthenticated(boolean) instead. 
org.restlet.client.Response.setChallengeRequest(ChallengeRequest)
          Add request to Response.getChallengeRequests() method result instead or use Response.setChallengeRequests(List). 
org.restlet.client.util.WrapperResponse.setChallengeRequest(ChallengeRequest)
           
org.restlet.client.data.ChallengeResponse.setCredentials(String)
          Use ChallengeMessage.getRawValue() instead. 
org.restlet.client.representation.Representation.setDownloadable(boolean)
          Use the "disposition" attribute instead. 
org.restlet.client.util.WrapperRepresentation.setDownloadable(boolean)
           
org.restlet.client.representation.Representation.setDownloadName(String)
          Use the "disposition" attribute instead. 
org.restlet.client.util.WrapperRepresentation.setDownloadName(String)
           
org.restlet.client.representation.Variant.setIdentifier(Reference)
          Use Variant.setLocationRef(Reference) instead 
org.restlet.client.representation.Variant.setIdentifier(String)
          Use Variant.setLocationRef(String) instead. 
org.restlet.client.service.StatusService.setOverwrite(boolean)
          Use StatusService.setOverwriting(boolean) instead. 
org.restlet.client.data.Method.setUri(String)
          Method instances are shared by all Restlet applications and shouldn't be modifiable. 
 

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



Copyright © 2005-2011 Noelios Technologies.