- checkToken(String) - Static method in class net.noderunner.http.ContentType
-
Checks a token syntax.
- ChunkedInputStream - Class in net.noderunner.http
-
An InputStream
wrapper supporting the chunked transfer encoding.
- ChunkedInputStream(InputStream) - Constructor for class net.noderunner.http.ChunkedInputStream
-
Constructs a chunked input stream wrapping input.
- ChunkedOutputStream - Class in net.noderunner.http
-
An OutputStream
wrapper that supports the chunked transfer encoding.
- ChunkedOutputStream(OutputStream) - Constructor for class net.noderunner.http.ChunkedOutputStream
-
Constructs an output stream wrapping the given stream.
- ClientRequest - Class in net.noderunner.http
-
Contains an HTTP client request.
- ClientRequest(RequestLine, MessageHeaders) - Constructor for class net.noderunner.http.ClientRequest
-
Constructs a ClientRequestImpl
by parts.
- ClientRequest(RequestLine, MessageHeaders, DataPoster) - Constructor for class net.noderunner.http.ClientRequest
-
Constructs a ClientRequestImpl
by parts.
- ClientResponse - Class in net.noderunner.http
-
Contains the contents of an HTTP response message.
- ClientResponse(InputStream) - Constructor for class net.noderunner.http.ClientResponse
-
Constructs a ClientResponseImpl
by parsing an input stream.
- close() - Method in class net.noderunner.http.BasicHttpClient
-
Closes the underlying input and output streams.
- close() - Method in class net.noderunner.http.BasicHttpServer
-
Closes the underlying input and output streams.
- close() - Method in class net.noderunner.http.ChunkedInputStream
-
Closes the underlying input stream.
- close() - Method in class net.noderunner.http.ChunkedOutputStream
-
Closes this output stream, calling doneOutput
once before closing.
- close() - Method in class net.noderunner.http.EasyHttpClient
-
Closes the wrapped HttpClient
.
- close() - Method in interface net.noderunner.http.HttpClient
-
Closes any underlying sockets or streams.
- close() - Method in interface net.noderunner.http.HttpServer
-
Closes and releases any open connections or resources
used by this server.
- close() - Method in class net.noderunner.http.LimitedInputStream
-
Closes the underlying input stream.
- close() - Method in class net.noderunner.http.LimitedOutputStream
-
Closes the underlying output stream.
- close() - Method in class net.noderunner.http.RetryHttpClient
-
- close() - Method in class net.noderunner.http.ThreadedHttpServer
-
Closes as soon as possible.
- contains(MessageHeader) - Method in class net.noderunner.http.MessageHeaders
-
Returns true if header
is within the headers.
- containsHeader(String) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- ContentType - Class in net.noderunner.http
-
Content type field value class, see RFC 2045 section 5.1 on this.
- ContentType(String, String) - Constructor for class net.noderunner.http.ContentType
-
Constructs a new ContentType.
- ContentType(String, String, List<ContentType.Parameter>) - Constructor for class net.noderunner.http.ContentType
-
Constructs a new ContentType.
- ContentType.Parameter - Class in net.noderunner.http
-
Content type parameter, see parameter
definition in RFC 2045.
- ContentType.Parameter(String, String) - Constructor for class net.noderunner.http.ContentType.Parameter
-
Constructs a new Parameter.
- ContentType.StandardType - Enum in net.noderunner.http
-
Standard content types.
- count() - Method in class net.noderunner.http.MessageHeaders
-
Returns the number of headers.
- create(URL, Method) - Static method in class net.noderunner.http.RequestLine
-
Creates and returns a request line based on a URL and method.
- GeneralDataPoster - Class in net.noderunner.http
-
A utility class for sending binary data to an HTTP server or client.
- GeneralDataPoster(InputStream, int) - Constructor for class net.noderunner.http.GeneralDataPoster
-
Constructs a new GeneralDataPoster
that outputs data
from the specified stream.
- getAttribute() - Method in class net.noderunner.http.ContentType.Parameter
-
Returns attribute.
- getAttribute(String) - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Returns attribute value by name.
- getAttribute(String) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getAttributeNames() - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Returns attribute enumeration.
- getAttributeNames() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getAuthType() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getBufferSize() - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- getCharacterEncoding() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getCharacterEncoding() - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- getContentLength() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getContentType() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getContentType() - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- getContextPath() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getCookies() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getCreationTime() - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Returns time this object was created.
- getDataPoster() - Method in class net.noderunner.http.ClientRequest
-
Returns an optional call-back interface for sending
HTTP data to the server.
- getDataPoster() - Method in class net.noderunner.http.ServerResponse
-
- getDateHeader(String) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getDefaultBufferSize() - Method in class net.noderunner.http.GeneralDataPoster
-
Return the default buffer size, which is 1024 bytes.
- getEntityHeaders() - Method in class net.noderunner.http.ChunkedInputStream
-
Returns "trailer" entity headers, which appear at the end of
a chunked encoding request.
- getFieldContent() - Method in class net.noderunner.http.MessageHeader
-
Returns the value of this header.
- getFieldContent(String) - Method in class net.noderunner.http.MessageHeaders
-
Returns the field content of the first header matching
a given field name.
- getFieldName() - Method in class net.noderunner.http.MessageHeader
-
Returns the name of the header, which for consistency is in
lower-case form.
- getHeader(String) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getHeaderNames() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getHeaders() - Method in class net.noderunner.http.EasyHttpClient
-
Returns the message headers in use.
- getHeaders() - Method in class net.noderunner.http.Request
-
Returns headers from the HTTP request.
- getHeaders() - Method in class net.noderunner.http.Response
-
- getHeaders(String) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getHttpVersion() - Method in class net.noderunner.http.RequestLine
-
Returns the version of this request.
- getHttpVersion() - Method in class net.noderunner.http.StatusLine
-
Returns the status' HTTP version.
- getId() - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Returns ID based on timestamp.
- getInputStream() - Method in class net.noderunner.http.ClientResponse
-
Returns a stream for reading data from the HTTP server.
- getInputStream() - Method in class net.noderunner.http.ServerRequest
-
- getInputStream() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getIntHeader(String) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getLastAccessedTime() - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Returns zero.
- getLastResponse() - Method in class net.noderunner.http.EasyHttpClient
-
Returns the last HTTP response, including headers, resulting
from the last doPost
, doGet
, or
doOperation
call.
- getLocalAddr() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getLocale() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getLocale() - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- getLocales() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getLocalName() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getLocalPort() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getMajorVersion() - Method in class net.noderunner.http.HttpVersion
-
Returns the major version number in use.
- getMaxInactiveInterval() - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Returns zero.
- getMethod() - Method in class net.noderunner.http.RequestLine
-
Returns the name of the request method.
- getMethod() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getMinorVersion() - Method in class net.noderunner.http.HttpVersion
-
Returns the minor version number in use.
- getNames() - Method in class net.noderunner.http.MessageHeaders
-
Returns a list of field names, read-only.
- getOutputStream() - Method in class net.noderunner.http.BasicHttpClient
-
- getOutputStream() - Method in class net.noderunner.http.BasicHttpServer
-
- getOutputStream() - Method in interface net.noderunner.http.HttpClient
-
Returns a stream for writing data to, if data is to be sent to the
server.
- getOutputStream() - Method in interface net.noderunner.http.HttpServer
-
Returns a stream for writing data to, if data is to be sent to the
client.
- getOutputStream() - Method in class net.noderunner.http.RetryHttpClient
-
Returns a stream for writing data to, if data is to be sent to the
server.
- getOutputStream() - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- getParameter(String) - Method in class net.noderunner.http.ContentType
-
Returns the first parameter matching this attribute string.
- getParameter(String) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getParameterMap() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getParameterNames() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getParameters() - Method in class net.noderunner.http.ContentType
-
Returns parameters, unmodifiable.
- getParameterValue(String) - Method in class net.noderunner.http.ContentType
-
Returns the first parameter value matching this attribute string.
- getParameterValues(String) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getPathInfo() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getPathTranslated() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getPort() - Method in class net.noderunner.http.ThreadedHttpServer
-
- getProtocol() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getQueryString() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getQuoteValue() - Method in class net.noderunner.http.ContentType.Parameter
-
Returns the quoted value of this parameter.
- getReader() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getRealPath(String) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getReasonPhrase() - Method in class net.noderunner.http.StatusLine
-
Returns the status reason phrase.
- getRemoteAddr() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getRemoteAddress() - Method in class net.noderunner.http.ThreadedHttpServer.Request
-
Returns address.
- getRemoteHost() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getRemotePort() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getRemoteUser() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getRequestDispatcher(String) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getRequestedSessionId() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getRequestLine() - Method in class net.noderunner.http.Request
-
Returns the request line.
- getRequestURI() - Method in class net.noderunner.http.RequestLine
-
Returns the URI of this request.
- getRequestURI() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getRequestURL() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getScheme() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getServer() - Method in class net.noderunner.http.ThreadedHttpServer.Request
-
Returns server.
- getServerName() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getServerPort() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getServletContext() - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Returns null.
- getServletPath() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getSession() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getSession(boolean) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getSessionContext() - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Returns null.
- getStatusCode() - Method in class net.noderunner.http.StatusLine
-
Returns the three-digit status code.
- getStatusLine() - Method in class net.noderunner.http.Response
-
- getSubtype() - Method in class net.noderunner.http.ContentType
-
Returns content sub type.
- getType() - Method in class net.noderunner.http.ContentType
-
Returns type.
- getUserPrincipal() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- getValue() - Method in class net.noderunner.http.ContentType.Parameter
-
Returns value, unquoted.
- getValue(String) - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Returns the value of the attribute.
- getValueNames() - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Returns the value names.
- getWriter() - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- handleRequest(ThreadedHttpServer.Request) - Method in class net.noderunner.http.servlet.ServletServer
-
- handleRequest(ThreadedHttpServer.Request) - Method in class net.noderunner.http.ThreadedHttpServer
-
Override this method to handle the request.
- hashCode() - Method in class net.noderunner.http.HttpVersion
-
Returns the hashcode.
- hashCode() - Method in class net.noderunner.http.MessageHeader
-
Returns the hashcode.
- HTTP10 - Static variable in class net.noderunner.http.HttpVersion
-
Represents HTTP version 1.0
- HTTP11 - Static variable in class net.noderunner.http.HttpVersion
-
Represents HTTP version 1.1
- HTTP11_100 - Static variable in class net.noderunner.http.StatusLine
-
Basic Continue message from an HTTP/1.1 server.
- HTTP11_200_OK - Static variable in class net.noderunner.http.StatusLine
-
Basic OK message from an HTTP/1.1 server.
- HTTP11_204 - Static variable in class net.noderunner.http.StatusLine
-
Basic 204 message from an HTTP/1.1 server.
- HTTP11_301 - Static variable in class net.noderunner.http.StatusLine
-
Basic 301 message from an HTTP/1.1 server.
- HTTP11_404 - Static variable in class net.noderunner.http.StatusLine
-
Basic 404 message from an HTTP/1.1 server.
- HTTP_VERSION_BEGIN - Static variable in class net.noderunner.http.HttpVersion
-
The string HTTP/
.
- HttpClient - Interface in net.noderunner.http
-
Specifies methods for an HTTP client.
- HttpDateFormat - Class in net.noderunner.http.servlet
-
Parses three possible date formats: RFC 1123, RFC 1036, and ANSI C asctime().
- HttpDateFormat() - Constructor for class net.noderunner.http.servlet.HttpDateFormat
-
Constructs a new HttpDateFormat using RFC 1123 as output.
- HttpException - Exception in net.noderunner.http
-
This exception is used to indicate the use of the HTTP protocol was
incorrect.
- HttpException(String) - Constructor for exception net.noderunner.http.HttpException
-
Construct a new HttpException with a message.
- HttpException() - Constructor for exception net.noderunner.http.HttpException
-
Construct a new HttpException with no message.
- HttpException(Exception) - Constructor for exception net.noderunner.http.HttpException
-
Construct a new HttpException with cause.
- HttpServer - Interface in net.noderunner.http
-
Specifies methods for an HTTP server, which is
handling a single request from an HTTP client.
- HttpServletRequestImpl - Class in net.noderunner.http.servlet
-
Simple HTTP servlet request.
- HttpServletRequestImpl(ServerRequest) - Constructor for class net.noderunner.http.servlet.HttpServletRequestImpl
-
Constructs a new HttpServletRequestImpl based on a server request.
- HttpServletResponseImpl - Class in net.noderunner.http.servlet
-
Internal implementation.
- HttpServletResponseImpl() - Constructor for class net.noderunner.http.servlet.HttpServletResponseImpl
-
- HttpUtil - Class in net.noderunner.http
-
Contains utility functions for common HTTP I/O tasks.
- HttpVersion - Class in net.noderunner.http
-
This represents an HTTP-Version
data object, as found in RFC
2616.
- HttpVersion(String) - Constructor for class net.noderunner.http.HttpVersion
-
Constructs a HttpVersionImpl
out of a parsable String.
- HttpVersion(int, int) - Constructor for class net.noderunner.http.HttpVersion
-
Constructs a HttpVersionImpl
out of version number parts.
- main(String[]) - Static method in class net.noderunner.http.EasyHttpClient
-
Performs a command-line test.
- makeHostHeader(URL) - Static method in class net.noderunner.http.MessageHeader
-
Returns a new Host
header, appropriate to the
given URL.
- makeHttpClient(URL) - Method in class net.noderunner.http.RetryHttpClient
-
Returns a newly constructed HTTP client for a given URL.
- makeSocket(URL) - Method in class net.noderunner.http.RetryHttpClient
-
Returns a newly constructed socket for a given URL.
- makeSSLSocket(URL) - Method in class net.noderunner.http.RetryHttpClient
-
Returns a newly constructed SSL socket for a given URL.
- mark(int) - Method in class net.noderunner.http.LimitedInputStream
-
Calls the wrapped stream.
- markSupported() - Method in class net.noderunner.http.LimitedInputStream
-
Calls the wrapped stream.
- MessageHeader - Class in net.noderunner.http
-
This is an immutable implementation of the MessageHeader
interface.
- MessageHeader(String, String) - Constructor for class net.noderunner.http.MessageHeader
-
Initialize using a field-name
and field-value
.
- MessageHeaders - Class in net.noderunner.http
-
Contains a list of message headers.
- MessageHeaders(MessageHeader[]) - Constructor for class net.noderunner.http.MessageHeaders
-
Constructs a new MessageHeaders.
- MessageHeaders(List<MessageHeader>) - Constructor for class net.noderunner.http.MessageHeaders
-
Constructs a new MessageHeaders.
- MessageHeaders() - Constructor for class net.noderunner.http.MessageHeaders
-
Constructs a new MessageHeaders with no headers.
- Method - Enum in net.noderunner.http
-
Standard HTTP methods.
- MH_CONNECTION_CLOSE - Static variable in class net.noderunner.http.MessageHeader
-
Use this MessageHeader
for indicating connection close.
- MH_CONNECTION_KEEP_ALIVE - Static variable in class net.noderunner.http.MessageHeader
-
Use this MessageHeader
for indicating a keep-alive
connection.
- MH_TRANSFER_ENCODING_CHUNKED - Static variable in class net.noderunner.http.MessageHeader
-
Use this MessageHeader
for sending chunked data.
- MH_URL_ENCODED - Static variable in class net.noderunner.http.MessageHeader
-
Use this MessageHeader
for indicating a URL encoded
content type.
- MH_USER_AGENT - Static variable in class net.noderunner.http.MessageHeader
-
Default user agent string for this library.
- read(byte[], int, int) - Method in class net.noderunner.http.ChunkedInputStream
-
Reads up to len
bytes of data from the input stream
into an array of bytes.
- read() - Method in class net.noderunner.http.ChunkedInputStream
-
Reads and return a single byte from this input stream, or -1 if end of
file has been encountered.
- read(InputStream) - Static method in class net.noderunner.http.HttpUtil
-
Reads an input stream until EOF.
- read(BufferedReader) - Static method in class net.noderunner.http.HttpUtil
-
Returns the contents of a BufferedReader
as a String.
- read(byte[], int, int) - Method in class net.noderunner.http.LimitedInputStream
-
Reads up to len
bytes of data from the input stream into
an array of bytes, possibly less if the read limit is reached.
- read() - Method in class net.noderunner.http.LimitedInputStream
-
Reads and returns a single byte from this input stream, or -1 if end of
file or the read limit has been encountered.
- readFully() - Method in class net.noderunner.http.ClientResponse
-
Reads a response's input stream until EOF.
- readFully(InputStream) - Static method in class net.noderunner.http.HttpUtil
-
Reads an input stream until EOF.
- readFully() - Method in class net.noderunner.http.ServerRequest
-
Reads a response's input stream until EOF.
- readHeaders(InputStream) - Static method in class net.noderunner.http.MessageHeaders
-
Returns a list of headers from a binary input stream.
- readHttpLine(InputStream) - Static method in class net.noderunner.http.HttpUtil
-
Returns a single line from a 8-bit InputStream
(which is assumed to be ASCII).
- readRequest() - Method in class net.noderunner.http.BasicHttpServer
-
- readRequest() - Method in interface net.noderunner.http.HttpServer
-
Reads the HTTP Request
information.
- readResponse() - Method in class net.noderunner.http.BasicHttpClient
-
- readResponse() - Method in interface net.noderunner.http.HttpClient
-
Reads the response data from the HTTP server.
- readResponse() - Method in class net.noderunner.http.RetryHttpClient
-
Reads the response data from the HTTP server.
- remove(String) - Method in class net.noderunner.http.MessageHeaders
-
Removes a header by field name.
- removeAttribute(String) - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Removes an attribute by name.
- removeAttribute(String) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- removeValue(String) - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Removes a value by name.
- Request - Class in net.noderunner.http
-
Contains an HTTP request.
- Request(RequestLine, MessageHeaders) - Constructor for class net.noderunner.http.Request
-
Constructs a RequestImpl
by parts.
- RequestLine - Class in net.noderunner.http
-
This is a immutable implementation of an HTTP request line.
- RequestLine(Method, String) - Constructor for class net.noderunner.http.RequestLine
-
Constructs using a method, a request URI, and the default HTTP/1.1
version.
- RequestLine(Method, String, HttpVersion) - Constructor for class net.noderunner.http.RequestLine
-
Constructs using all Request-Line parts.
- RequestLine(String) - Constructor for class net.noderunner.http.RequestLine
-
Construct using an unparsed request line.
- RequestLine(RequestLine, String) - Constructor for class net.noderunner.http.RequestLine
-
Copy-constructs a new RequestLine using a different requestURI.
- reset() - Method in class net.noderunner.http.LimitedInputStream
-
Calls the wrapped stream.
- reset() - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- resetBuffer() - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- Response - Class in net.noderunner.http
-
Contains the contents of an HTTP response message.
- Response(StatusLine, MessageHeaders) - Constructor for class net.noderunner.http.Response
-
Constructs a Response
object by parts.
- RetryHttpClient - Class in net.noderunner.http
-
A HttpClient
implementation that retries contacting a remote URL and
allows for persistant connections.
- RetryHttpClient(URL, int) - Constructor for class net.noderunner.http.RetryHttpClient
-
Constructs a RetryHttpClient
that retries a number of times.
- RetryHttpClient(URL) - Constructor for class net.noderunner.http.RetryHttpClient
-
Constructs a RetryHttpClient
that retries 3 times.
- retrySendRequest(IOException, int) - Method in class net.noderunner.http.RetryHttpClient
-
Callback that indicates the connection failed and will be retried.
- run() - Method in class net.noderunner.http.ThreadedHttpServer
-
- sendData(OutputStream) - Method in class net.noderunner.http.ByteArrayDataPoster
-
Writes the byte array to the supplied output stream.
- sendData(OutputStream) - Method in interface net.noderunner.http.DataPoster
-
Sends data to the remote host.
- sendData(OutputStream) - Method in class net.noderunner.http.GeneralDataPoster
-
Copies our input stream data to the supplied output stream.
- sendError(int) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- sendError(int, String) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- sendRedirect(String) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- ServerRequest - Class in net.noderunner.http
-
Specifies an HTTP request.
- ServerRequest(InputStream) - Constructor for class net.noderunner.http.ServerRequest
-
Constructs a ServerRequest
by parsing an input stream.
- ServerResponse - Class in net.noderunner.http
-
Contains the contents of an HTTP response message.
- ServerResponse(StatusLine, MessageHeaders) - Constructor for class net.noderunner.http.ServerResponse
-
Constructs a ServerResponseImpl
by parts,
with no data poster.
- ServerResponse(StatusLine, MessageHeaders, DataPoster) - Constructor for class net.noderunner.http.ServerResponse
-
Constructs a ServerResponseImpl
by parts.
- ServerResponse(StatusLine, MessageHeader[]) - Constructor for class net.noderunner.http.ServerResponse
-
Constructs a ServerResponseImpl
by parts.
- ServletServer - Class in net.noderunner.http.servlet
-
Extends the threaded HTTP server by sending requests to a single servlet.
- ServletServer(HttpServlet) - Constructor for class net.noderunner.http.servlet.ServletServer
-
Constructs a new ServletServer.
- ServletServer(HttpServlet, ServerSocket) - Constructor for class net.noderunner.http.servlet.ServletServer
-
Constructs a new ServletServer.
- ServletServer(HttpServlet, int) - Constructor for class net.noderunner.http.servlet.ServletServer
-
Constructs a new ServletServer for this local port.
- set(MessageHeader) - Method in class net.noderunner.http.MessageHeaders
-
Sets a new header to the existing list array.
- set(String, String) - Method in class net.noderunner.http.MessageHeaders
-
Sets a new header in the existing list array.
- setAttribute(String, Object) - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Sets an attribute.
- setAttribute(String, Object) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- setBufferSize(int) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- setCharacterEncoding(String) - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- setCharacterEncoding(String) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- setCheckStatus(boolean) - Method in class net.noderunner.http.EasyHttpClient
-
Sets if the status will automatically be checked for a 200-level
response or whether or not the status will be ignored.
- setContentLength(int) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- setContentType(String) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- setDateHeader(String, long) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- setFile(String) - Method in class net.noderunner.http.EasyHttpClient
-
Allows a subsequent operation to be repeated with a different file on
the same connection.
- setFollowRedirects(boolean) - Method in class net.noderunner.http.RetryHttpClient
-
Sets whether HTTP redirects should be followed.
- setHeader(String, String) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- setIntHeader(String, int) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- setLocale(Locale) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- setMaxInactiveInterval(int) - Method in class net.noderunner.http.servlet.BasicHttpSession
-
Sets inactive interval.
- setMethod(Method) - Method in class net.noderunner.http.EasyHttpClient
-
Allows a subsequent operation to be repeated with a different method on
the same connection.
- setSkipContinues(boolean) - Method in class net.noderunner.http.RetryHttpClient
-
Sets whether HTTP continue responses should be skipped.
- setSocketOptions(Socket) - Method in class net.noderunner.http.RetryHttpClient
-
Sets the socket options to use.
- setStatus(int) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- setStatus(int, String) - Method in class net.noderunner.http.servlet.HttpServletResponseImpl
-
- ss - Variable in class net.noderunner.http.ThreadedHttpServer
-
- start() - Method in class net.noderunner.http.ThreadedHttpServer
-
Starts listening in a new thread.
- StatusLine - Class in net.noderunner.http
-
This is a immutable implementation of the StatusLine
interface.
- StatusLine(int) - Constructor for class net.noderunner.http.StatusLine
-
Constructs this object using a status code, HTTP version 1.1, and blank reason.
- StatusLine(HttpVersion, int, String) - Constructor for class net.noderunner.http.StatusLine
-
Constructs this object using Status-Line parts.
- StatusLine(String) - Constructor for class net.noderunner.http.StatusLine
-
Constructs a StatusLineImpl
using an unparsed request
line.
- StatusLine(int, String) - Constructor for class net.noderunner.http.StatusLine
-
Constructs this object using Status-Line parts.
- ThreadedHttpServer - Class in net.noderunner.http
-
This class is for unit testing.
- ThreadedHttpServer(ServerSocket) - Constructor for class net.noderunner.http.ThreadedHttpServer
-
Constructs a new SingleHttpServer, initialized with a server socket.
- ThreadedHttpServer() - Constructor for class net.noderunner.http.ThreadedHttpServer
-
- ThreadedHttpServer.Request - Class in net.noderunner.http
-
Inner class for handling a single HTTP server request.
- ThreadedHttpServer.Request(HttpServer, InetSocketAddress) - Constructor for class net.noderunner.http.ThreadedHttpServer.Request
-
Constructs a new Request.
- toString() - Method in class net.noderunner.http.BasicHttpClient
-
Returns debug information.
- toString() - Method in class net.noderunner.http.BasicHttpServer
-
Returns debug information.
- toString() - Method in class net.noderunner.http.ByteArrayDataPoster
-
- toString() - Method in class net.noderunner.http.ChunkedInputStream
-
Returns a debug string.
- toString() - Method in class net.noderunner.http.ChunkedOutputStream
-
- toString() - Method in class net.noderunner.http.ClientRequest
-
Returns a debug string.
- toString() - Method in class net.noderunner.http.ClientResponse
-
Returns a debug string showing the response information contained
within.
- toString() - Method in class net.noderunner.http.ContentType.Parameter
-
Returns a formatted attribute=value
string.
- toString() - Method in class net.noderunner.http.ContentType
-
- toString() - Method in class net.noderunner.http.EasyHttpClient
-
Returns debug information.
- toString() - Method in class net.noderunner.http.GeneralDataPoster
-
Returns a debug string.
- toString() - Method in class net.noderunner.http.HttpVersion
-
Returns
- toString() - Method in class net.noderunner.http.LimitedInputStream
-
Returns a debug string.
- toString() - Method in class net.noderunner.http.LimitedOutputStream
-
Returns a debug string.
- toString() - Method in class net.noderunner.http.MessageHeader
-
Should return this MessageHeader
as:
- toString() - Method in class net.noderunner.http.MessageHeaders
-
Returns a debug string.
- toString() - Method in class net.noderunner.http.Request
-
Returns a debug string.
- toString() - Method in class net.noderunner.http.RequestLine
-
Returns this RequestLine
as:
- toString() - Method in class net.noderunner.http.Response
-
Returns a debug string showing the response information contained
within.
- toString() - Method in class net.noderunner.http.RetryHttpClient
-
Returns debug information.
- toString() - Method in class net.noderunner.http.ServerRequest
-
Returns a debug string.
- toString() - Method in class net.noderunner.http.ServerResponse
-
Returns a debug string showing the response information contained
within.
- toString() - Method in class net.noderunner.http.servlet.HttpServletRequestImpl
-
- toString() - Method in class net.noderunner.http.StatusLine
-
Returns this StatusLine
as:
- toString() - Method in class net.noderunner.http.ThreadedHttpServer
-
Returns a debug string.