- sendByteArray(HttpResponseStatus, byte[], HttpHeaders) - Method in class io.cdap.http.AbstractHttpResponder
-
- sendByteArray(HttpResponseStatus, byte[], HttpHeaders) - Method in interface io.cdap.http.HttpResponder
-
Send a response containing raw bytes.
- sendBytes(HttpResponseStatus, ByteBuffer, HttpHeaders) - Method in class io.cdap.http.AbstractHttpResponder
-
- sendBytes(HttpResponseStatus, ByteBuffer, HttpHeaders) - Method in interface io.cdap.http.HttpResponder
-
Sends a response containing raw bytes.
- sendChunk(ByteBuffer) - Method in interface io.cdap.http.ChunkResponder
-
Adds a chunk of data to the response.
- sendChunk(ByteBuf) - Method in interface io.cdap.http.ChunkResponder
-
Adds a chunk of data to the response.
- sendChunkStart(HttpResponseStatus) - Method in class io.cdap.http.AbstractHttpResponder
-
- sendChunkStart(HttpResponseStatus) - Method in interface io.cdap.http.HttpResponder
-
Respond to the client saying the response will be in chunks.
- sendChunkStart(HttpResponseStatus, HttpHeaders) - Method in interface io.cdap.http.HttpResponder
-
Respond to the client saying the response will be in chunks.
- sendContent(HttpResponseStatus, ByteBuf, HttpHeaders) - Method in interface io.cdap.http.HttpResponder
-
Send response back to client.
- sendContent(HttpResponseStatus, BodyProducer, HttpHeaders) - Method in interface io.cdap.http.HttpResponder
-
Sends response back to client.
- sendFile(File) - Method in class io.cdap.http.AbstractHttpResponder
-
- sendFile(File) - Method in interface io.cdap.http.HttpResponder
-
Sends a file content back to client with response status 200 with content type as "application/octet-stream".
- sendFile(File, HttpHeaders) - Method in interface io.cdap.http.HttpResponder
-
Sends a file content back to client with response status 200.
- sendInternalRequest(HttpRequest) - Method in class io.cdap.http.AbstractHttpHandler
-
Send a request to another handler internal to the server, getting back the response body and response code.
- sendJson(HttpResponseStatus, String) - Method in class io.cdap.http.AbstractHttpResponder
-
- sendJson(HttpResponseStatus, String) - Method in interface io.cdap.http.HttpResponder
-
Sends json response back to the client.
- sendStatus(HttpResponseStatus) - Method in class io.cdap.http.AbstractHttpResponder
-
- sendStatus(HttpResponseStatus, HttpHeaders) - Method in class io.cdap.http.AbstractHttpResponder
-
- sendStatus(HttpResponseStatus) - Method in interface io.cdap.http.HttpResponder
-
Send only a status code back to client without any content.
- sendStatus(HttpResponseStatus, HttpHeaders) - Method in interface io.cdap.http.HttpResponder
-
Send only a status code back to client without any content.
- sendString(HttpResponseStatus, String) - Method in class io.cdap.http.AbstractHttpResponder
-
- sendString(HttpResponseStatus, String, HttpHeaders) - Method in class io.cdap.http.AbstractHttpResponder
-
- sendString(HttpResponseStatus, String) - Method in interface io.cdap.http.HttpResponder
-
Send a string response in UTF-8 encoding back to the http client.
- sendString(HttpResponseStatus, String, HttpHeaders) - Method in interface io.cdap.http.HttpResponder
-
Send a string response in UTF-8 encoding back to the http client.
- setBossThreadPoolSize(int) - Method in class io.cdap.http.NettyHttpService.Builder
-
Set size of bossThreadPool in netty default value is 1 if it is not set.
- setCertificatePassword(String) - Method in class io.cdap.http.SSLConfig.Builder
-
Set the certificate password for KeyStore.
- setChannelConfig(ChannelOption<?>, Object) - Method in class io.cdap.http.NettyHttpService.Builder
-
Sets channel configuration for the netty service.
- setChannelPipelineModifier(ChannelPipelineModifier) - Method in class io.cdap.http.NettyHttpService.Builder
-
- setChildChannelConfig(ChannelOption<?>, Object) - Method in class io.cdap.http.NettyHttpService.Builder
-
Sets channel configuration for the child socket channel for the netty service.
- setConnectionBacklog(int) - Method in class io.cdap.http.NettyHttpService.Builder
-
Set size of backlog in netty service - size of accept queue of the TCP stack.
- setExceptionHandler(ExceptionHandler) - Method in class io.cdap.http.NettyHttpService.Builder
-
- setExecThreadKeepAliveSeconds(long) - Method in class io.cdap.http.NettyHttpService.Builder
-
Set the maximum time that excess idle threads will wait for new tasks before terminating.
- setExecThreadPoolSize(int) - Method in class io.cdap.http.NettyHttpService.Builder
-
Set size of executorThreadPool in netty default value is 60 if it is not set.
- setHandlerHooks(Iterable<? extends HandlerHook>) - Method in class io.cdap.http.NettyHttpService.Builder
-
Set HandlerHooks to be executed pre and post handler calls.
- setHost(String) - Method in class io.cdap.http.NettyHttpService.Builder
-
Set the bindAddress for the service.
- setHttpChunkLimit(int) - Method in class io.cdap.http.NettyHttpService.Builder
-
Set the HTTP chunk limit.
- setHttpHandlers(Iterable<? extends HttpHandler>) - Method in class io.cdap.http.NettyHttpService.Builder
-
Add HttpHandlers that service the request.
- setHttpHandlers(HttpHandler...) - Method in class io.cdap.http.NettyHttpService.Builder
-
Add HttpHandlers that service the request.
- setPort(int) - Method in class io.cdap.http.NettyHttpService.Builder
-
Set the port on which the service should listen to.
- setRejectedExecutionHandler(RejectedExecutionHandler) - Method in class io.cdap.http.NettyHttpService.Builder
-
Set RejectedExecutionHandler - rejection policy for executor.
- setTrustKeyStore(File) - Method in class io.cdap.http.SSLConfig.Builder
-
Set trust KeyStore file.
- setTrustKeyStorePassword(String) - Method in class io.cdap.http.SSLConfig.Builder
-
Set trust KeyStore password.
- setUrlRewriter(URLRewriter) - Method in class io.cdap.http.NettyHttpService.Builder
-
Set URLRewriter to re-write URL of an incoming request before any handlers or their hooks are called.
- setWorkerThreadPoolSize(int) - Method in class io.cdap.http.NettyHttpService.Builder
-
Set size of workerThreadPool in netty default value is 10 if it is not set.
- SSLConfig - Class in io.cdap.http
-
A class that encapsulates SSLContext configuration.
- SSLConfig.Builder - Class in io.cdap.http
-
Builder to help create the SSLConfig.
- SSLHandlerFactory - Class in io.cdap.http
-
A class that encapsulates SSL Certificate Information.
- SSLHandlerFactory(SSLConfig) - Constructor for class io.cdap.http.SSLHandlerFactory
-
- SSLHandlerFactory(SslContext) - Constructor for class io.cdap.http.SSLHandlerFactory
-
- start() - Method in class io.cdap.http.NettyHttpService
-
Starts the HTTP service.
- stop() - Method in class io.cdap.http.NettyHttpService
-
Stops the HTTP service gracefully and release all resources.
- stop(long, long, TimeUnit) - Method in class io.cdap.http.NettyHttpService
-
Stops the HTTP service gracefully and release all resources.