Skip navigation links
A B C D E F G H I J L P Q R S U V W 

A

addCookie(Cookie) - Method in class io.resurface.HttpServletResponseImpl
 
addDateHeader(String, long) - Method in class io.resurface.HttpServletResponseImpl
 
addHeader(String, String) - Method in class io.resurface.HttpServletRequestImpl
 
addHeader(String, String) - Method in class io.resurface.HttpServletResponseImpl
 
addIntHeader(String, int) - Method in class io.resurface.HttpServletResponseImpl
 
agent - Variable in class io.resurface.BaseLogger
 
AGENT - Static variable in class io.resurface.HttpLogger
Agent string identifying this logger.
append(StringBuilder, CharSequence, CharSequence) - Static method in class io.resurface.Json
Adds comma-delimited key/value pair to message.
appendRequestHeaders(List<String[]>, HttpServletRequest) - Method in class io.resurface.HttpLogger
Adds request headers to message.
appendResponseHeaders(List<String[]>, HttpServletResponse) - Method in class io.resurface.HttpLogger
Adds response headers to message.
authenticate(HttpServletResponse) - Method in class io.resurface.HttpServletRequestImpl
 
available() - Method in class io.resurface.LoggedInputStream
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking.

B

BaseLogger<T extends BaseLogger> - Class in io.resurface
Basic usage logger to embed or extend.
BaseLogger(String) - Constructor for class io.resurface.BaseLogger
Initialize enabled logger using default url.
BaseLogger(String, boolean) - Constructor for class io.resurface.BaseLogger
Initialize enabled/disabled logger using default url.
BaseLogger(String, String) - Constructor for class io.resurface.BaseLogger
Initialize enabled logger using url.
BaseLogger(String, String, boolean) - Constructor for class io.resurface.BaseLogger
Initialize enabled/disabled logger using url.
BaseLogger(String, List<String>) - Constructor for class io.resurface.BaseLogger
Initialize enabled logger using queue.
BaseLogger(String, List<String>, boolean) - Constructor for class io.resurface.BaseLogger
Initialize enabled/disabled logger using queue.

C

close() - Method in class io.resurface.LoggedInputStream
Closes this input stream and releases any system resources associated with the stream.
close() - Method in class io.resurface.LoggedOutputStream
Closes this output stream and releases any system resources associated with this stream.
config - Variable in class io.resurface.HttpLoggerForServlets
 
containsHeader(String) - Method in class io.resurface.HttpServletResponseImpl
 

D

destroy() - Method in class io.resurface.HttpLoggerForServlets
Called when filter is taken out of service.
disable() - Method in class io.resurface.BaseLogger
Disable this logger.
disable() - Static method in class io.resurface.UsageLoggers
Disable all usage loggers.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.resurface.HttpLoggerForServlets
Called when request/response passes through the filter chain.

E

enable() - Method in class io.resurface.BaseLogger
Enable this logger.
enable() - Static method in class io.resurface.UsageLoggers
Enable all usage loggers, except those explicitly disabled.
enabled - Variable in class io.resurface.BaseLogger
 
encodeRedirectUrl(String) - Method in class io.resurface.HttpServletResponseImpl
 
encodeRedirectURL(String) - Method in class io.resurface.HttpServletResponseImpl
 
encodeUrl(String) - Method in class io.resurface.HttpServletResponseImpl
 
encodeURL(String) - Method in class io.resurface.HttpServletResponseImpl
 
escape(StringBuilder, CharSequence) - Static method in class io.resurface.Json
Escapes quotes and control characters in string value for use in message.

F

flush() - Method in class io.resurface.LoggedOutputStream
Flushes this output stream and forces any buffered output bytes to be written out.
flushBuffer() - Method in class io.resurface.HttpServletResponseImpl
 
flushBuffer() - Method in class io.resurface.LoggedResponseWrapper
Flushes any buffered output.
format(HttpServletRequest, String, HttpServletResponse, String) - Method in class io.resurface.HttpLogger
Formats HTTP request and response as JSON message.
format(HttpServletRequest, String, HttpServletResponse, String, long) - Method in class io.resurface.HttpLogger
Formats HTTP request and response as JSON message.
formatURL(HttpServletRequest) - Method in class io.resurface.HttpLogger
Returns complete request URL including query string.

G

getAgent() - Method in class io.resurface.BaseLogger
Returns agent string identifying this logger.
getAsyncContext() - Method in class io.resurface.HttpServletRequestImpl
 
getAttribute(String) - Method in class io.resurface.HttpServletRequestImpl
 
getAttributeNames() - Method in class io.resurface.HttpServletRequestImpl
 
getAuthType() - Method in class io.resurface.HttpServletRequestImpl
 
getBufferSize() - Method in class io.resurface.HttpServletResponseImpl
 
getCharacterEncoding() - Method in class io.resurface.HttpServletRequestImpl
 
getCharacterEncoding() - Method in class io.resurface.HttpServletResponseImpl
 
getContentLength() - Method in class io.resurface.HttpServletRequestImpl
 
getContentType() - Method in class io.resurface.HttpServletRequestImpl
 
getContentType() - Method in class io.resurface.HttpServletResponseImpl
 
getContextPath() - Method in class io.resurface.HttpServletRequestImpl
 
getCookies() - Method in class io.resurface.HttpServletRequestImpl
 
getDateHeader(String) - Method in class io.resurface.HttpServletRequestImpl
 
getDispatcherType() - Method in class io.resurface.HttpServletRequestImpl
 
getHeader(String) - Method in class io.resurface.HttpServletRequestImpl
 
getHeader(String) - Method in class io.resurface.HttpServletResponseImpl
 
getHeaderNames() - Method in class io.resurface.HttpServletRequestImpl
 
getHeaderNames() - Method in class io.resurface.HttpServletResponseImpl
 
getHeaders(String) - Method in class io.resurface.HttpServletRequestImpl
 
getHeaders(String) - Method in class io.resurface.HttpServletResponseImpl
 
getInputStream() - Method in class io.resurface.HttpServletRequestImpl
 
getInputStream() - Method in class io.resurface.LoggedRequestWrapper
Returns input stream against the wrapped request.
getIntHeader(String) - Method in class io.resurface.HttpServletRequestImpl
 
getLocalAddr() - Method in class io.resurface.HttpServletRequestImpl
 
getLocale() - Method in class io.resurface.HttpServletRequestImpl
 
getLocale() - Method in class io.resurface.HttpServletResponseImpl
 
getLocales() - Method in class io.resurface.HttpServletRequestImpl
 
getLocalName() - Method in class io.resurface.HttpServletRequestImpl
 
getLocalPort() - Method in class io.resurface.HttpServletRequestImpl
 
getMethod() - Method in class io.resurface.HttpServletRequestImpl
 
getOutputStream() - Method in class io.resurface.HttpServletResponseImpl
 
getOutputStream() - Method in class io.resurface.LoggedResponseWrapper
Returns output stream against the wrapped response.
getParameter(String) - Method in class io.resurface.HttpServletRequestImpl
 
getParameter(String) - Method in class io.resurface.LoggedRequestWrapper
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameterMap() - Method in class io.resurface.HttpServletRequestImpl
 
getParameterMap() - Method in class io.resurface.LoggedRequestWrapper
Returns a java.util.Map of the parameters of this request.
getParameterNames() - Method in class io.resurface.HttpServletRequestImpl
 
getParameterNames() - Method in class io.resurface.LoggedRequestWrapper
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterValues(String) - Method in class io.resurface.HttpServletRequestImpl
 
getParameterValues(String) - Method in class io.resurface.LoggedRequestWrapper
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getPart(String) - Method in class io.resurface.HttpServletRequestImpl
 
getParts() - Method in class io.resurface.HttpServletRequestImpl
 
getPathInfo() - Method in class io.resurface.HttpServletRequestImpl
 
getPathTranslated() - Method in class io.resurface.HttpServletRequestImpl
 
getProtocol() - Method in class io.resurface.HttpServletRequestImpl
 
getQueryString() - Method in class io.resurface.HttpServletRequestImpl
 
getReader() - Method in class io.resurface.HttpServletRequestImpl
 
getReader() - Method in class io.resurface.LoggedRequestWrapper
Returns reader against the wrapped request.
getRealPath(String) - Method in class io.resurface.HttpServletRequestImpl
 
getRemoteAddr() - Method in class io.resurface.HttpServletRequestImpl
 
getRemoteHost() - Method in class io.resurface.HttpServletRequestImpl
 
getRemotePort() - Method in class io.resurface.HttpServletRequestImpl
 
getRemoteUser() - Method in class io.resurface.HttpServletRequestImpl
 
getRequestDispatcher(String) - Method in class io.resurface.HttpServletRequestImpl
 
getRequestedSessionId() - Method in class io.resurface.HttpServletRequestImpl
 
getRequestURI() - Method in class io.resurface.HttpServletRequestImpl
 
getRequestURL() - Method in class io.resurface.HttpServletRequestImpl
 
getScheme() - Method in class io.resurface.HttpServletRequestImpl
 
getServerName() - Method in class io.resurface.HttpServletRequestImpl
 
getServerPort() - Method in class io.resurface.HttpServletRequestImpl
 
getServletContext() - Method in class io.resurface.HttpServletRequestImpl
 
getServletPath() - Method in class io.resurface.HttpServletRequestImpl
 
getSession() - Method in class io.resurface.HttpServletRequestImpl
 
getSession(boolean) - Method in class io.resurface.HttpServletRequestImpl
 
getStatus() - Method in class io.resurface.HttpServletResponseImpl
 
getUrl() - Method in class io.resurface.BaseLogger
Returns url destination where messages are sent.
getUserPrincipal() - Method in class io.resurface.HttpServletRequestImpl
 
getVersion() - Method in class io.resurface.BaseLogger
Returns cached version number.
getWriter() - Method in class io.resurface.HttpServletResponseImpl
 
getWriter() - Method in class io.resurface.LoggedResponseWrapper
Returns writer against the wrapped response.

H

HttpLogger - Class in io.resurface
Usage logger for HTTP/HTTPS protocol.
HttpLogger() - Constructor for class io.resurface.HttpLogger
Initialize enabled logger using default url.
HttpLogger(boolean) - Constructor for class io.resurface.HttpLogger
Initialize enabled/disabled logger using default url.
HttpLogger(String) - Constructor for class io.resurface.HttpLogger
Initialize enabled logger using url.
HttpLogger(String, boolean) - Constructor for class io.resurface.HttpLogger
Initialize enabled/disabled logger using url.
HttpLogger(List<String>) - Constructor for class io.resurface.HttpLogger
Initialize enabled logger using queue.
HttpLogger(List<String>, boolean) - Constructor for class io.resurface.HttpLogger
Initialize enabled/disabled logger using queue.
HttpLoggerForServlets - Class in io.resurface
Servlet filter for HTTP usage logging.
HttpLoggerForServlets() - Constructor for class io.resurface.HttpLoggerForServlets
Initialize with default parameters.
HttpLoggerForServlets(List<String>) - Constructor for class io.resurface.HttpLoggerForServlets
Initialize filter using supplied queue.
HttpServletRequestImpl - Class in io.resurface
HttpServletRequest mock implementation.
HttpServletRequestImpl() - Constructor for class io.resurface.HttpServletRequestImpl
 
HttpServletRequestImpl(byte[]) - Constructor for class io.resurface.HttpServletRequestImpl
 
HttpServletResponseImpl - Class in io.resurface
HttpServletResponse mock implementation.
HttpServletResponseImpl() - Constructor for class io.resurface.HttpServletResponseImpl
 

I

init(FilterConfig) - Method in class io.resurface.HttpLoggerForServlets
Called when filter is placed into service.
io.resurface - package io.resurface
 
isAsyncStarted() - Method in class io.resurface.HttpServletRequestImpl
 
isAsyncSupported() - Method in class io.resurface.HttpServletRequestImpl
 
isCommitted() - Method in class io.resurface.HttpServletResponseImpl
 
isEnabled() - Method in class io.resurface.BaseLogger
Returns true if this logger is enabled.
isEnabled() - Static method in class io.resurface.UsageLoggers
Returns true if usage loggers are generally enabled.
isRequestedSessionIdFromCookie() - Method in class io.resurface.HttpServletRequestImpl
 
isRequestedSessionIdFromUrl() - Method in class io.resurface.HttpServletRequestImpl
 
isRequestedSessionIdFromURL() - Method in class io.resurface.HttpServletRequestImpl
 
isRequestedSessionIdValid() - Method in class io.resurface.HttpServletRequestImpl
 
isSecure() - Method in class io.resurface.HttpServletRequestImpl
 
isStringContentType(String) - Method in class io.resurface.HttpLoggerForServlets
Returns true if content type indicates string data.
isUserInRole(String) - Method in class io.resurface.HttpServletRequestImpl
 

J

Json - Class in io.resurface
Utility methods for formatting JSON messages.
Json() - Constructor for class io.resurface.Json
 

L

log(HttpServletRequest, String, HttpServletResponse, String) - Method in class io.resurface.HttpLogger
Logs HTTP request and response to intended destination.
logged() - Method in class io.resurface.LoggedInputStream
Return raw data logged so far.
logged() - Method in class io.resurface.LoggedOutputStream
Return raw data logged so far.
logged() - Method in class io.resurface.LoggedRequestWrapper
Return all bytes logged so far.
logged() - Method in class io.resurface.LoggedResponseWrapper
Flushes underlying stream and returns all bytes logged so far.
LOGGED_NOTHING - Static variable in class io.resurface.LoggedResponseWrapper
Value returned when nothing was logged.
LoggedInputStream - Class in io.resurface
Servlet input stream allowing data to be read more than once.
LoggedInputStream(byte[]) - Constructor for class io.resurface.LoggedInputStream
Constructor taking original raw bytes to wrap.
LoggedInputStream(InputStream) - Constructor for class io.resurface.LoggedInputStream
Constructor taking original input stream to wrap.
LoggedOutputStream - Class in io.resurface
Servlet output stream allowing data to be read after being written/flushed.
LoggedOutputStream(OutputStream) - Constructor for class io.resurface.LoggedOutputStream
Constructor taking original output stream to wrap.
LoggedRequestWrapper - Class in io.resurface
Servlet request wrapper for HTTP usage logging.
LoggedRequestWrapper(HttpServletRequest) - Constructor for class io.resurface.LoggedRequestWrapper
Constructor taking original request to wrap.
LoggedResponseWrapper - Class in io.resurface
Servlet response wrapper for HTTP usage logging.
LoggedResponseWrapper(HttpServletResponse) - Constructor for class io.resurface.LoggedResponseWrapper
Constructor taking original response to wrap.
logger - Variable in class io.resurface.HttpLoggerForServlets
 
login(String, String) - Method in class io.resurface.HttpServletRequestImpl
 
logout() - Method in class io.resurface.HttpServletRequestImpl
 

P

process(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class io.resurface.HttpLoggerForServlets
Called when an active logger passes a request/response through the filter chain.

Q

queue - Variable in class io.resurface.BaseLogger
 
queue - Variable in class io.resurface.HttpLoggerForServlets
 

R

read() - Method in class io.resurface.LoggedInputStream
Reads the next byte of data from the input stream.
read(byte[], int, int) - Method in class io.resurface.LoggedInputStream
Reads up to len bytes of data from the input stream into an array of bytes.
removeAttribute(String) - Method in class io.resurface.HttpServletRequestImpl
 
reset() - Method in class io.resurface.HttpServletResponseImpl
 
resetBuffer() - Method in class io.resurface.HttpServletResponseImpl
 

S

sendError(int) - Method in class io.resurface.HttpServletResponseImpl
 
sendError(int, String) - Method in class io.resurface.HttpServletResponseImpl
 
sendRedirect(String) - Method in class io.resurface.HttpServletResponseImpl
 
setAttribute(String, Object) - Method in class io.resurface.HttpServletRequestImpl
 
setBufferSize(int) - Method in class io.resurface.HttpServletResponseImpl
 
setCharacterEncoding(String) - Method in class io.resurface.HttpServletRequestImpl
 
setCharacterEncoding(String) - Method in class io.resurface.HttpServletResponseImpl
 
setContentLength(int) - Method in class io.resurface.HttpServletResponseImpl
 
setContentType(String) - Method in class io.resurface.HttpServletRequestImpl
 
setContentType(String) - Method in class io.resurface.HttpServletResponseImpl
 
setDateHeader(String, long) - Method in class io.resurface.HttpServletResponseImpl
 
setHeader(String, String) - Method in class io.resurface.HttpServletRequestImpl
 
setHeader(String, String) - Method in class io.resurface.HttpServletResponseImpl
 
setIntHeader(String, int) - Method in class io.resurface.HttpServletResponseImpl
 
setLocale(Locale) - Method in class io.resurface.HttpServletResponseImpl
 
setMethod(String) - Method in class io.resurface.HttpServletRequestImpl
 
setQueryString(String) - Method in class io.resurface.HttpServletRequestImpl
 
setRequestURL(String) - Method in class io.resurface.HttpServletRequestImpl
 
setStatus(int) - Method in class io.resurface.HttpServletResponseImpl
 
setStatus(int, String) - Method in class io.resurface.HttpServletResponseImpl
 
startAsync() - Method in class io.resurface.HttpServletRequestImpl
 
startAsync(ServletRequest, ServletResponse) - Method in class io.resurface.HttpServletRequestImpl
 
STRING_TYPES_PATTERN - Variable in class io.resurface.HttpLoggerForServlets
 
STRING_TYPES_REGEX - Variable in class io.resurface.HttpLoggerForServlets
 
stringify(List<String[]>) - Static method in class io.resurface.Json
Formats list of string arrays as JSON.
submit(String) - Method in class io.resurface.BaseLogger
Submits JSON message to intended destination.

U

url - Variable in class io.resurface.BaseLogger
 
urlByDefault() - Static method in class io.resurface.UsageLoggers
Returns url to use by default.
urlForDemo() - Static method in class io.resurface.UsageLoggers
Returns url for official demo.
UsageLoggers - Class in io.resurface
Utilities for all usage loggers.
UsageLoggers() - Constructor for class io.resurface.UsageLoggers
 

V

version - Variable in class io.resurface.BaseLogger
 
version_lookup() - Static method in class io.resurface.BaseLogger
Retrieves version number from runtime properties file.

W

write(int) - Method in class io.resurface.LoggedOutputStream
Writes the specified byte to this output stream.
write(byte[]) - Method in class io.resurface.LoggedOutputStream
Writes the specified byte array to this output stream.
write(byte[], int, int) - Method in class io.resurface.LoggedOutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
A B C D E F G H I J L P Q R S U V W 
Skip navigation links

Copyright © 2017 resurface.io. All rights reserved.