@Deprecated public class HttpServerHelper extends ServerConnectionHelper
clientSide, controller, inboundMessages, outboundMessages| Constructor and Description |
|---|
HttpServerHelper(Server server)
Deprecated.
Constructor.
|
HttpServerHelper(Server server,
Protocol protocol)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canHandle(org.restlet.ext.nio.internal.connection.Connection<Server> connection,
Response response)
Deprecated.
Indicates if the connection can handle the given response at this point
in time.
|
org.restlet.ext.nio.internal.way.InboundWay |
createInboundWay(org.restlet.ext.nio.internal.connection.Connection<Server> connection,
int bufferSize)
Deprecated.
Creates an inbound way for the given connection.
|
org.restlet.ext.nio.internal.way.OutboundWay |
createOutboundWay(org.restlet.ext.nio.internal.connection.Connection<Server> connection,
int bufferSize)
Deprecated.
Creates an outbound way for the given connection.
|
Request |
createRequest(org.restlet.ext.nio.internal.connection.Connection<Server> connection,
java.lang.String methodName,
java.lang.String resourceUri,
java.lang.String protocol)
Deprecated.
Creates a new request.
|
createConnection, createController, createServerSocketChannel, createSocketAddress, doHandleInbound, doHandleOutbound, getController, getServerSocketChannel, handle, handleInbound, handleOutbound, isControllerDaemon, isProxying, isReuseAddress, setEphemeralPort, setEphemeralPort, start, stopaddOutboundMessage, checkin, checkout, configure, createConnectionPool, doFinishStop, doGracefulStop, getConnectionPool, getConnections, getInitialConnections, getMaxConnectionsPerHost, getMaxTotalConnections, getSocketLingerTimeMs, getSocketReceiveBufferSize, getSocketSendBufferSize, getSocketTrafficClass, isPersistingConnections, isPipeliningConnections, isPooledConnection, isSocketKeepAlive, isSocketNoDelay, isSocketOobInline, isSocketReuseAddresscontrol, createControllerService, createRequest, createWorkerService, execute, getControllerSleepTimeMs, getInboundBufferSize, getInboundMessages, getLowThreads, getMaxIoIdleTimeMs, getMaxQueued, getMaxThreadIdleTimeMs, getMaxThreads, getMinThreads, getOutboundBufferSize, getOutboundMessages, getRequest, getThrottleTimeMs, getTraceStream, getTransport, getWorkerService, handleInbound, handleOutbound, hasWorkerThreads, isClientSide, isDirectBuffers, isServerSide, isTracing, isWorkerServiceOverloaded, onInboundError, onOutboundError, traceWorkerServicegetConnectorService, getContext, getProtocols, updategetAttributes, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelpedpublic HttpServerHelper(Server server)
server - The server to help.protected boolean canHandle(org.restlet.ext.nio.internal.connection.Connection<Server> connection, Response response) throws java.io.IOException
ServerConnectionHelpercanHandle in class ServerConnectionHelperconnection - The parent connection.response - The response to handle.java.io.IOExceptionpublic org.restlet.ext.nio.internal.way.InboundWay createInboundWay(org.restlet.ext.nio.internal.connection.Connection<Server> connection, int bufferSize)
ConnectionHelpercreateInboundWay in class ConnectionHelper<Server>connection - The parent connection.bufferSize - The byte buffer size.public org.restlet.ext.nio.internal.way.OutboundWay createOutboundWay(org.restlet.ext.nio.internal.connection.Connection<Server> connection, int bufferSize)
ConnectionHelpercreateOutboundWay in class ConnectionHelper<Server>connection - The parent connection.bufferSize - The byte buffer size.public Request createRequest(org.restlet.ext.nio.internal.connection.Connection<Server> connection, java.lang.String methodName, java.lang.String resourceUri, java.lang.String protocol)
ServerConnectionHelpercreateRequest in class ServerConnectionHelperconnection - The associated connection.methodName - The method name.resourceUri - The target resource URI.protocol - The protocol name and version.Copyright © 2005-2020 Restlet.