Uses of Class
dev.relism.flash.transport.ConnectionScratch
Packages that use ConnectionScratch
-
Uses of ConnectionScratch in dev.relism.flash.http1
Methods in dev.relism.flash.http1 with parameters of type ConnectionScratchModifier and TypeMethodDescriptionstatic voidHttp1ResponseWriter.writeResponse(OutputStream out, Response response, HttpMethod method, boolean keepAlive, boolean sendDate, ConnectionScratch scratch) Writesresponsetooutas a complete HTTP/1.1 message. -
Uses of ConnectionScratch in dev.relism.flash.transport
Methods in dev.relism.flash.transport that return ConnectionScratchModifier and TypeMethodDescriptionScratchPool.acquire()Returns a reset, ready-to-use scratch — either reused from the pool or freshly allocated.ConnectionContext.scratch()Returns the value of thescratchrecord component.Methods in dev.relism.flash.transport with parameters of type ConnectionScratchModifier and TypeMethodDescriptionvoidScratchPool.release(ConnectionScratch scratch) Returnsscratchto the pool for reuse, unless the pool is already at its bound — in which case it is simply dropped, for the garbage collector, so an unusually large burst of connections cannot grow this cache without limit.Constructors in dev.relism.flash.transport with parameters of type ConnectionScratchModifierConstructorDescriptionConnectionContext(Socket socket, SSLSocket sslSocket, BufferedByteSource in, OutputStream out, OutputStream rawOut, InetSocketAddress remoteAddress, ConnectionScratch scratch, AbstractRouter router, AbstractWsRouter wsRouter, FlashConfiguration configuration, ExecutorService executor, BooleanSupplier stopped) Creates an instance of aConnectionContextrecord class. -
Uses of ConnectionScratch in dev.relism.flash.websocket
Methods in dev.relism.flash.websocket with parameters of type ConnectionScratchModifier and TypeMethodDescriptionstatic voidWebSocketUpgrade.performHandshake(OutputStream out, Request request, ConnectionScratch scratch) Writes and flushes the101 Switching Protocolshandshake response.