Uses of Interface
eu.cloudnetservice.driver.network.http.HttpResponse
Packages that use HttpResponse
Package
Description
-
Uses of HttpResponse in eu.cloudnetservice.driver.network.http
Methods in eu.cloudnetservice.driver.network.http that return HttpResponseModifier and TypeMethodDescriptionHttpContext.response()Get the current response which will be sent to the client.HttpResponse.status(@NonNull HttpResponseCode code) Sets the status of this response. -
Uses of HttpResponse in eu.cloudnetservice.driver.network.netty.http
Classes in eu.cloudnetservice.driver.network.netty.http that implement HttpResponseModifier and TypeClassDescription(package private) final classThe default netty based implementation of a http response.Methods in eu.cloudnetservice.driver.network.netty.http that return HttpResponseModifier and TypeMethodDescriptionNettyHttpServerResponse.body(byte[] byteArray) Sets the body of the http message.Sets the body to the given string.NettyHttpServerResponse.body(InputStream body) Sets the body of this http message to the given input stream.NettyHttpServerResponse.clearHeaders()Removes all headers from this message.Sets the given header, replacing the current one if already set.NettyHttpServerResponse.removeHeader(@NonNull String name) Removes a header by the given name from this message.NettyHttpServerContext.response()Get the current response which will be sent to the client.NettyHttpServerResponse.status(@NonNull HttpResponseCode code) Sets the status of this response.NettyHttpServerResponse.version(@NonNull HttpVersion version) Sets the version of this http message.