@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, stop
addOutboundMessage, checkin, checkout, configure, createConnectionPool, doFinishStop, doGracefulStop, getConnectionPool, getConnections, getInitialConnections, getMaxConnectionsPerHost, getMaxTotalConnections, getSocketLingerTimeMs, getSocketReceiveBufferSize, getSocketSendBufferSize, getSocketTrafficClass, isPersistingConnections, isPipeliningConnections, isPooledConnection, isSocketKeepAlive, isSocketNoDelay, isSocketOobInline, isSocketReuseAddress
control, 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, traceWorkerService
getConnectorService, getContext, getProtocols, update
getAttributes, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelped
public 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
ServerConnectionHelper
canHandle
in class ServerConnectionHelper
connection
- The parent connection.response
- The response to handle.java.io.IOException
public org.restlet.ext.nio.internal.way.InboundWay createInboundWay(org.restlet.ext.nio.internal.connection.Connection<Server> connection, int bufferSize)
ConnectionHelper
createInboundWay
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)
ConnectionHelper
createOutboundWay
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)
ServerConnectionHelper
createRequest
in class ServerConnectionHelper
connection
- The associated connection.methodName
- The method name.resourceUri
- The target resource URI.protocol
- The protocol name and version.Copyright © 2005-2020 Restlet.