Uses of Class
org.restlet.data.Protocol
Packages that use Protocol
Package
Description
Core classes of the Restlet API.
Information exchanged by components.
Adapters between low-level HTTP calls and high-level Restlet Request and
Response objects.
Integration with Java URLConnection class.
Client and server resource classes.
Services used by applications and components.
Various utility classes.
-
Uses of Protocol in org.restlet
Methods in org.restlet that return ProtocolModifier and TypeMethodDescriptionRequest.getProtocol()Returns the protocol used or to be used, if known.Methods in org.restlet that return types with arguments of type ProtocolModifier and TypeMethodDescriptionConnector.getProtocols()Returns the modifiable list of protocols simultaneously supported.Methods in org.restlet with parameters of type ProtocolModifier and TypeMethodDescriptionvoidRequest.setProtocol(Protocol protocol) Sets the protocol used or to be used.Method parameters in org.restlet with type arguments of type ProtocolModifier and TypeMethodDescriptionvoidConnector.setProtocols(List<Protocol> protocols) Sets the list of protocols simultaneously supported.Constructors in org.restlet with parameters of type ProtocolModifierConstructorDescriptionConstructor.Constructor.Constructor.Constructor.Server(Context context, Protocol protocol, int port, Class<? extends ServerResource> nextClass) Constructor.Constructor.Server(Context context, Protocol protocol, Class<? extends ServerResource> nextClass) Constructor.Constructor.Constructor using the protocol's default port.Constructor.Constructor.Server(Protocol protocol, int port, Class<? extends ServerResource> nextClass) Constructor.Constructor.Server(Protocol protocol, Class<? extends ServerResource> nextClass) Constructor using the protocol's default port.Constructor using the protocol's default port.Constructor.Constructor.Server(Protocol protocol, String address, Class<? extends ServerResource> nextClass) Constructor using the protocol's default port.Constructor using the protocol's default port.Constructor using the protocol's default port.Constructor parameters in org.restlet with type arguments of type Protocol -
Uses of Protocol in org.restlet.data
Fields in org.restlet.data declared as ProtocolModifier and TypeFieldDescriptionstatic final ProtocolProtocol.ALLAll-protocols wildcard.static final ProtocolProtocol.CLAPCLAP (ClassLoader Access Protocol) is a custom scheme to access to representations via classloaders.static final ProtocolProtocol.FILEFILE is a standard scheme to access to representations stored in the file system (locally most of the time).static final ProtocolProtocol.FTPFTP protocol.static final ProtocolProtocol.HTTPHTTP protocol.static final ProtocolProtocol.HTTPSHTTPS protocol (via SSL socket).static final ProtocolProtocol.JARJAR (Java ARchive) is a common scheme to access to representations inside archive files.static final ProtocolProtocol.JDBCJDBC protocol.static final ProtocolProtocol.RIAPRIAP (Restlet Internal Access Protocol) is a custom scheme to access representations via internal calls to virtual hosts/components.static final ProtocolProtocol.WARLocal Web Archive access protocol.static final ProtocolProtocol.ZIPZIP is a special scheme to access to representations inside Zip archive files.Methods in org.restlet.data that return ProtocolModifier and TypeMethodDescriptionRecipientInfo.getProtocol()Returns the protocol used to communicate with the recipient.Reference.getSchemeProtocol()Returns the protocol associated with the scheme component.static ProtocolCreates the protocol associated to a URI scheme name.static ProtocolCreates the protocol associated to a URI scheme name.Methods in org.restlet.data with parameters of type ProtocolModifier and TypeMethodDescriptionvoidRecipientInfo.setProtocol(Protocol protocol) Sets the protocol used to communicate with the recipient.voidReference.setProtocol(Protocol protocol) Sets the scheme component based on this protocol.Constructors in org.restlet.data with parameters of type ProtocolModifierConstructorDescriptionRecipientInfo(Protocol protocol, String name, String agent) Constructor.Constructor for a protocol and host name.Constructor for a protocol, host name and host port -
Uses of Protocol in org.restlet.engine.adapter
Methods in org.restlet.engine.adapter that return ProtocolMethods in org.restlet.engine.adapter with parameters of type ProtocolModifier and TypeMethodDescriptionvoidCall.setProtocol(Protocol protocol) Sets the exact protocol used (HTTP or HTTPS). -
Uses of Protocol in org.restlet.engine.connector
Methods in org.restlet.engine.connector that return types with arguments of type ProtocolModifier and TypeMethodDescriptionConnectorHelper.getProtocols()Returns the protocols simultaneously supported. -
Uses of Protocol in org.restlet.resource
Methods in org.restlet.resource that return ProtocolModifier and TypeMethodDescriptionResource.getProtocol()Returns the protocol by first returning the resourceRef.schemeProtocol property if it is set, or the baseRef.schemeProtocol property otherwise.Methods in org.restlet.resource with parameters of type ProtocolModifier and TypeMethodDescriptionvoidClientResource.setProtocol(Protocol protocol) Sets the protocol used or to be used. -
Uses of Protocol in org.restlet.service
Methods in org.restlet.service that return types with arguments of type ProtocolModifier and TypeMethodDescriptionConnectorService.getClientProtocols()Returns the modifiable list of required client protocols.ConnectorService.getServerProtocols()Returns the modifiable list of required server protocols.Method parameters in org.restlet.service with type arguments of type ProtocolModifier and TypeMethodDescriptionvoidConnectorService.setClientProtocols(List<Protocol> clientProtocols) Sets the modifiable list of required client protocols.voidConnectorService.setServerProtocols(List<Protocol> serverProtocols) Sets the modifiable list of required server protocols. -
Uses of Protocol in org.restlet.util
Methods in org.restlet.util that return ProtocolModifier and TypeMethodDescriptionWrapperRequest.getProtocol()Returns the protocol by first returning the baseRef.schemeProtocol property if it is set, or the resourceRef.schemeProtocol property otherwise.Methods in org.restlet.util with parameters of type ProtocolModifier and TypeMethodDescriptionAdds a new client connector in the map supporting the given protocol.Adds a new server connector in the map supporting the given protocol.Adds a new server connector in the map supporting the given protocol on the specified port.Adds a new server connector in the map supporting the given protocol on the specified IP address and port.voidWrapperRequest.setProtocol(Protocol protocol)