- get(String) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Headers
-
Returns the value of the first header with the given name.
- getAliases() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.VirtualHost
-
Returns this host's aliases.
- getBaseURL() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the base URL (scheme, host and port) of the request resource.
- getBody() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.MultipartIterator.Part
-
Returns the part's body (form field value).
- getBody() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the input stream containing the request body.
- getBody() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Returns an output stream into which the response body can be written.
- getBytes(String...) - 类 中的静态方法org.noear.solon.boot.jlhttp.HTTPServer
-
Converts strings to bytes by casting the chars to bytes.
- getConditionalStatus(HTTPServer.Request, long, String) - 类 中的静态方法org.noear.solon.boot.jlhttp.HTTPServer
-
Calculates the appropriate response status for the given request and
its resource's last-modified time and ETag, based on the conditional
headers present in the request.
- getContentType(String, String) - 类 中的静态方法org.noear.solon.boot.jlhttp.HTTPServer
-
Returns the content type for the given path, according to its suffix,
or the given default content type if none can be determined.
- getContext() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the info of the context handling this request.
- getContext(String) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.VirtualHost
-
Returns the context handler for the given path.
- getDate(String) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Headers
-
Returns the Date value of the header with the given name.
- getDirectoryIndex() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.VirtualHost
-
Gets this host's directory index file.
- getFilename() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.MultipartIterator.Part
-
Returns the part's filename (original filename entered in file form field).
- getHandlers() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.VirtualHost.ContextInfo
-
Returns the map of supported HTTP methods and their corresponding handlers.
- getHeaders() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.MultipartIterator.Part
-
Returns the part's headers.
- getHeaders() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the request headers.
- getHeaders() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Returns the request headers collection.
- getMethod() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the request method.
- getMethods() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.VirtualHost
-
Returns all HTTP methods explicitly supported by at least one context
(this may or may not include the methods with required or built-in support).
- getName() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Header
-
Returns this header's name.
- getName() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.MultipartIterator.Part
-
Returns the part's name (form field name).
- getName() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.VirtualHost
-
Returns this host's name.
- getOutputStream() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Returns the underlying output stream to which the response is written.
- getParams(String) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Headers
-
Returns a header's parameters.
- getParams() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the request parameters, which are parsed both from the query
part of the request URI, and from the request body if its content
type is "application/x-www-form-urlencoded" (i.e. a submitted form).
- getParamsList() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
- getParentPath(String) - 类 中的静态方法org.noear.solon.boot.jlhttp.HTTPServer
-
Returns the parent of the given path.
- getPath() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the path component of the request URI, after
URL decoding has been applied (using the UTF-8 charset).
- getPath() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.VirtualHost.ContextInfo
-
Returns the context path.
- getRange(long) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the absolute (zero-based) content range value read
from the Range header.
- getSocket() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the underlying socket, which can be used to retrieve connection meta-data.
- getString() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.MultipartIterator.Part
-
Returns the part's body as a string.
- getURI() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the request URI.
- getValue() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Header
-
Returns this header's value.
- getVersion() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the request version string.
- getVirtualHost(String) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Returns the virtual host with the given name.
- getVirtualHost() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Returns the virtual host corresponding to the requested host name,
or the default host if none exists.
- getVirtualHosts() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Returns all virtual hosts.
- GMT - 类 中的静态变量org.noear.solon.boot.jlhttp.HTTPServer
-
A GMT (UTC) timezone instance.
- handleConnection(InputStream, OutputStream, Socket) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Handles communications for a single connection over the given streams.
- handleMethod(HTTPServer.Request, HTTPServer.Response) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Handles a transaction according to the request method.
- handlers - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.VirtualHost.ContextInfo
-
- handleTrace(HTTPServer.Request, HTTPServer.Response) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Handles a TRACE method request.
- handleTransaction(HTTPServer.Request, HTTPServer.Response) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Handles a single transaction on a connection.
- hasNext() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.MultipartIterator
-
- head - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.MultipartInputStream
-
- Header(String, String) - 类 的构造器org.noear.solon.boot.jlhttp.HTTPServer.Header
-
Constructs a header with the given name and value.
- headerAdd(String, String) - 类 中的方法org.noear.solon.boot.jlhttp.JlHttpContext
-
- headerMap() - 类 中的方法org.noear.solon.boot.jlhttp.JlHttpContext
-
- headers - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.ChunkedInputStream
-
- Headers() - 类 的构造器org.noear.solon.boot.jlhttp.HTTPServer.Headers
-
- headers - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.Headers
-
- headers - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.MultipartIterator.Part
-
- headers - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.Request
-
- headers - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.Response
-
- headerSet(String, String) - 类 中的方法org.noear.solon.boot.jlhttp.JlHttpContext
-
- headersSent() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Returns whether the response headers were already sent.
- host - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.Request
-
- hosts - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer
-
- HTTPServer - org.noear.solon.boot.jlhttp中的类
-
The HTTPServer class implements a light-weight HTTP server.
- HTTPServer(int) - 类 的构造器org.noear.solon.boot.jlhttp.HTTPServer
-
Constructs an HTTPServer which can accept connections on the given port.
- HTTPServer() - 类 的构造器org.noear.solon.boot.jlhttp.HTTPServer
-
Constructs an HTTPServer which can accept connections on the default HTTP port 80.
- HTTPServer.ChunkedInputStream - org.noear.solon.boot.jlhttp中的类
-
The ChunkedInputStream decodes an InputStream whose data has the
"chunked" transfer encoding applied to it, providing the underlying data.
- HTTPServer.ChunkedOutputStream - org.noear.solon.boot.jlhttp中的类
-
The ChunkedOutputStream encodes an OutputStream with the
"chunked" transfer encoding.
- HTTPServer.Context - org.noear.solon.boot.jlhttp中的注释类型
-
The Context annotation decorates methods which are mapped
to a context (path) within the server, and provide its contents.
- HTTPServer.ContextHandler - org.noear.solon.boot.jlhttp中的接口
-
A ContextHandler serves the content of resources within a context.
- HTTPServer.FileContextHandler - org.noear.solon.boot.jlhttp中的类
-
The FileContextHandler services a context by mapping it
to a file or folder (recursively) on disk.
- HTTPServer.Header - org.noear.solon.boot.jlhttp中的类
-
The Header class encapsulates a single HTTP header.
- HTTPServer.Headers - org.noear.solon.boot.jlhttp中的类
-
The Headers class encapsulates a collection of HTTP headers.
- HTTPServer.LimitedInputStream - org.noear.solon.boot.jlhttp中的类
-
The LimitedInputStream provides access to a limited number
of consecutive bytes from the underlying InputStream, starting at its
current position.
- HTTPServer.MethodContextHandler - org.noear.solon.boot.jlhttp中的类
-
The MethodContextHandler services a context
by invoking a handler method on a specified object.
- HTTPServer.MultipartInputStream - org.noear.solon.boot.jlhttp中的类
-
The MultipartInputStream decodes an InputStream whose data has
a "multipart/*" content type (see RFC 2046), providing the underlying
data of its various parts.
- HTTPServer.MultipartIterator - org.noear.solon.boot.jlhttp中的类
-
The MultipartIterator iterates over the parts of a multipart/form-data request.
- HTTPServer.MultipartIterator.Part - org.noear.solon.boot.jlhttp中的类
-
The Part class encapsulates a single part of the multipart.
- HTTPServer.Request - org.noear.solon.boot.jlhttp中的类
-
The Request class encapsulates a single HTTP request.
- HTTPServer.Response - org.noear.solon.boot.jlhttp中的类
-
The Response class encapsulates a single HTTP response.
- HTTPServer.ResponseOutputStream - org.noear.solon.boot.jlhttp中的类
-
The ResponseOutputStream encompasses a single response over a connection,
and does not close the underlying stream so that it can be used by subsequent responses.
- HTTPServer.SocketHandlerThread - org.noear.solon.boot.jlhttp中的类
-
The SocketHandlerThread handles accepted sockets.
- HTTPServer.VirtualHost - org.noear.solon.boot.jlhttp中的类
-
The VirtualHost class represents a virtual host in the server.
- HTTPServer.VirtualHost.ContextInfo - org.noear.solon.boot.jlhttp中的类
-
The ContextInfo class holds a single context's information.
- secure - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer
-
- send(int, String) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Sends the full response with the given status, and the given string
as the body.
- sendBody(InputStream, long, long[]) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Sends the response body.
- sendError(int, String) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Sends an error response with the given status and detailed message.
- sendError(int) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Sends an error response with the given status and default body.
- sendHeaders(int) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Sends the response headers with the given response status.
- sendHeaders(int, long, long, String, String, long[]) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Sends the response headers, including the given response status
and description, and all response headers.
- serv - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer
-
- serve(HTTPServer.Request, HTTPServer.Response) - 接口 中的方法org.noear.solon.boot.jlhttp.HTTPServer.ContextHandler
-
Serves the given request using the given response.
- serve(HTTPServer.Request, HTTPServer.Response) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.FileContextHandler
-
- serve(HTTPServer.Request, HTTPServer.Response) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.MethodContextHandler
-
- serve(HTTPServer.Request, HTTPServer.Response) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Serves the content for a request by invoking the context
handler for the requested context (path) and HTTP method.
- serve(HTTPServer.Request, HTTPServer.Response) - 类 中的方法org.noear.solon.boot.jlhttp.JlHttpContextHandler
-
- serveFile(File, String, HTTPServer.Request, HTTPServer.Response) - 类 中的静态方法org.noear.solon.boot.jlhttp.HTTPServer
-
Serves a context's contents from a file based resource.
- serveFileContent(File, HTTPServer.Request, HTTPServer.Response) - 类 中的静态方法org.noear.solon.boot.jlhttp.HTTPServer
-
Serves the contents of a file, with its corresponding content type,
last modification time, etc. conditional and partial retrievals are
handled according to the RFC.
- serverSocketFactory - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer
-
- setAllowGeneratedIndex(boolean) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.VirtualHost
-
Sets whether auto-generated indices are allowed.
- setClientCapabilities(HTTPServer.Request) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Sets the request which is used in determining the capabilities
supported by the client (e.g. compression, encoding, etc.)
- setDirectoryIndex(String) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.VirtualHost
-
Sets the directory index file.
- setDiscardBody(boolean) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Response
-
Sets whether this response's body is discarded or sent.
- setExecutor(Executor) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Sets the executor used in servicing HTTP connections.
- setPath(String) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Request
-
Sets the path component of the request URI.
- setPort(int) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Sets the port on which this server will accept connections.
- setServerSocketFactory(ServerSocketFactory) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Sets the factory used to create the server socket.
- setSocketTimeout(int) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Sets the socket timeout for established connections.
- signal() - 类 中的静态方法org.noear.solon.boot.jlhttp.XPluginImp
-
- size() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.Headers
-
Returns the number of added headers.
- skip(long) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.LimitedInputStream
-
- skip(long) - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer.MultipartInputStream
-
- sock - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.Request
-
- SocketHandlerThread() - 类 的构造器org.noear.solon.boot.jlhttp.HTTPServer.SocketHandlerThread
-
- socketTimeout - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer
-
- solon_boot_ver() - 类 中的静态方法org.noear.solon.boot.jlhttp.XPluginImp
-
- split(String, String, int) - 类 中的静态方法org.noear.solon.boot.jlhttp.HTTPServer
-
Splits the given string into its constituent non-empty trimmed elements,
which are delimited by any of the given delimiter characters.
- splitElements(String, boolean) - 类 中的静态方法org.noear.solon.boot.jlhttp.HTTPServer
-
Splits the given element list string (comma-separated header value)
into its constituent non-empty trimmed elements.
- start() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Starts this server.
- start(SolonApp) - 类 中的方法org.noear.solon.boot.jlhttp.XPluginImp
-
- state - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.ChunkedOutputStream
-
- state - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.MultipartInputStream
-
- state - 类 中的变量org.noear.solon.boot.jlhttp.HTTPServer.Response
-
- status() - 类 中的方法org.noear.solon.boot.jlhttp.JlHttpContext
-
- statusDoSet(int) - 类 中的方法org.noear.solon.boot.jlhttp.JlHttpContext
-
- statuses - 类 中的静态变量org.noear.solon.boot.jlhttp.HTTPServer
-
The HTTP status description strings.
- stop() - 类 中的方法org.noear.solon.boot.jlhttp.HTTPServer
-
Stops this server.
- stop() - 类 中的方法org.noear.solon.boot.jlhttp.XPluginImp
-