| vicazh.hyperpool.stream.Stream vicazh.hyperpool.stream.net.Stream vicazh.hyperpool.stream.net.http.Stream vicazh.hyperpool.stream.net.http.ServerStream
All known Subclasses: vicazh.hyperpool.stream.net.http.PortsServerStream, vicazh.hyperpool.stream.net.http.ReconnectServerStream, vicazh.hyperpool.stream.net.http.LogStream, vicazh.hyperpool.stream.net.http.CacheServerStream, vicazh.hyperpool.stream.net.http.html.AntivirusStream, vicazh.hyperpool.stream.net.http.AgentsServerStream, vicazh.hyperpool.stream.net.http.ExplorerStream, examples.ExampleServiceServerStream, vicazh.hyperpool.stream.net.http.ServersServerStream, vicazh.hyperpool.stream.net.http.html.Stream, vicazh.hyperpool.stream.net.http.RouterServerStream, vicazh.hyperpool.stream.net.http.ContentHeadStream, vicazh.hyperpool.stream.net.http.MonitorStream, vicazh.hyperpool.stream.net.http.SetRouteStream, vicazh.hyperpool.stream.net.http.ContentServerStream,
ServerStream | public class ServerStream extends Stream (Code) | | This class implements an http stream from server
author: Victor Zhigunov version: 0.4.0 |
ACCEPTED | final public static int ACCEPTED(Code) | | |
BAD_GATEWAY | final public static int BAD_GATEWAY(Code) | | |
BAD_REQUEST | final public static int BAD_REQUEST(Code) | | |
CONFLICT | final public static int CONFLICT(Code) | | |
CONTINUE | final public static int CONTINUE(Code) | | |
CREATED | final public static int CREATED(Code) | | |
EXPECTATION_FAILED | final public static int EXPECTATION_FAILED(Code) | | |
FORBIDDEN | final public static int FORBIDDEN(Code) | | |
FOUND | final public static int FOUND(Code) | | |
GATEWAY_TIMEOUT | final public static int GATEWAY_TIMEOUT(Code) | | |
GONE | final public static int GONE(Code) | | |
HTTP_VERSION_NOT_SUPPORTED | final public static int HTTP_VERSION_NOT_SUPPORTED(Code) | | |
INTERNAL_SERVER_ERROR | final public static int INTERNAL_SERVER_ERROR(Code) | | |
LENGTH_REQUIRED | final public static int LENGTH_REQUIRED(Code) | | |
METHOD_NOT_ALLOWED | final public static int METHOD_NOT_ALLOWED(Code) | | |
MOVED_PERMANENTLY | final public static int MOVED_PERMANENTLY(Code) | | |
MOVED_TEMPORARILY | final public static int MOVED_TEMPORARILY(Code) | | |
MULTIPLE_CHOICES | final public static int MULTIPLE_CHOICES(Code) | | |
NON_AUTHORITATIVE_INFORMATION | final public static int NON_AUTHORITATIVE_INFORMATION(Code) | | |
NOT_ACCEPTABLE | final public static int NOT_ACCEPTABLE(Code) | | |
NOT_FOUND | final public static int NOT_FOUND(Code) | | |
NOT_IMPLEMENTED | final public static int NOT_IMPLEMENTED(Code) | | |
NOT_MODIFIED | final public static int NOT_MODIFIED(Code) | | |
NO_CONTENT | final public static int NO_CONTENT(Code) | | |
OK | final public static int OK(Code) | | |
PARTIAL_CONTENT | final public static int PARTIAL_CONTENT(Code) | | |
PAYMENT_REQUIRED | final public static int PAYMENT_REQUIRED(Code) | | |
PRECONDITION_FAILED | final public static int PRECONDITION_FAILED(Code) | | |
PROXY_AUTHENTICATION_REQUIRED | final public static int PROXY_AUTHENTICATION_REQUIRED(Code) | | |
REQUESTED_RANGE_NOT_SATISFIABLE | final public static int REQUESTED_RANGE_NOT_SATISFIABLE(Code) | | |
REQUEST_ENTITY_TOO_LARGE | final public static int REQUEST_ENTITY_TOO_LARGE(Code) | | |
REQUEST_TIMEOUT | final public static int REQUEST_TIMEOUT(Code) | | |
REQUEST_URI_TOO_LONG | final public static int REQUEST_URI_TOO_LONG(Code) | | |
RESET_CONTENT | final public static int RESET_CONTENT(Code) | | |
SEE_OTHER | final public static int SEE_OTHER(Code) | | |
SERVICE_UNAVAILABLE | final public static int SERVICE_UNAVAILABLE(Code) | | |
SWITCHING_PROTOCOLS | final public static int SWITCHING_PROTOCOLS(Code) | | |
TEMPORARY_REDIRECT | final public static int TEMPORARY_REDIRECT(Code) | | |
UNAUTHORIZED | final public static int UNAUTHORIZED(Code) | | |
UNSUPPORTED_MEDIA_TYPE | final public static int UNSUPPORTED_MEDIA_TYPE(Code) | | |
USE_PROXY | final public static int USE_PROXY(Code) | | |
ServerStream | public ServerStream()(Code) | | |
ServerStream | public ServerStream(Session session, OutputStream outputstream)(Code) | | Parameters: session - parent session Parameters: outputstream - linked output stream |
getCode | public int getCode()(Code) | | Get the code
|
head | public void head(String version, int code, String message) throws IOException(Code) | | Writes the http parameters to this stream
Parameters: version - the http version Parameters: code - the http return code Parameters: message - the http return message |
isContent | protected boolean isContent()(Code) | | |
setCode | public void setCode(int code)(Code) | | Set the code
|
setMessage | public void setMessage(String message)(Code) | | Set the message
|
setVersion | public void setVersion(String version)(Code) | | Set the version
|
|
|