A B C E F G I K L M N R S T U W 
All Classes All Packages

A

addCookie(Cookie) - Method in interface io.spine.web.given.MockedResponse
 
addDateHeader(String, long) - Method in interface io.spine.web.given.MockedResponse
 
addHeader(String, String) - Method in class io.spine.web.given.MemoizingResponse
 
addHeader(String, String) - Method in interface io.spine.web.given.MockedResponse
 
addIntHeader(String, int) - Method in interface io.spine.web.given.MockedResponse
 
authenticate(HttpServletResponse) - Method in interface io.spine.web.given.MockedRequest
 

B

build() - Method in class io.spine.web.given.KnownRequest.Builder
Creates a request out of this builder.

C

changeSessionId() - Method in interface io.spine.web.given.MockedRequest
 
containsHeader(String) - Method in interface io.spine.web.given.MockedResponse
 
create(Writer) - Static method in class io.spine.web.given.KnownResponse
Creates a new mocked response with specified writer and default OK status.
create(Writer, int) - Static method in class io.spine.web.given.KnownResponse
Creates a new mocked response with specified writer and status.
create(Writer, int, ImmutableMap<String, String>) - Static method in class io.spine.web.given.KnownResponse
Creates a new mocked response with specified writer, status and headers.
create(String) - Static method in class io.spine.web.given.KnownRequest
Creates a new mocked request with specified content and default any type.
create(String, MediaType) - Static method in class io.spine.web.given.KnownRequest
Creates a new mocked request with specified content and type.

E

empty() - Static method in class io.spine.web.given.KnownRequest
Creates an empty request.
encodeRedirectUrl(String) - Method in interface io.spine.web.given.MockedResponse
Deprecated.
encodeRedirectURL(String) - Method in interface io.spine.web.given.MockedResponse
 
encodeUrl(String) - Method in interface io.spine.web.given.MockedResponse
Deprecated.
encodeURL(String) - Method in interface io.spine.web.given.MockedResponse
 

F

flushBuffer() - Method in interface io.spine.web.given.MockedResponse
 

G

getAsyncContext() - Method in interface io.spine.web.given.MockedRequest
 
getAttribute(String) - Method in interface io.spine.web.given.MockedRequest
 
getAttributeNames() - Method in interface io.spine.web.given.MockedRequest
 
getAuthType() - Method in interface io.spine.web.given.MockedRequest
 
getBufferSize() - Method in interface io.spine.web.given.MockedResponse
 
getCharacterEncoding() - Method in interface io.spine.web.given.MockedRequest
 
getCharacterEncoding() - Method in interface io.spine.web.given.MockedResponse
 
getContentLength() - Method in class io.spine.web.given.KnownRequest
 
getContentLength() - Method in interface io.spine.web.given.MockedRequest
 
getContentLengthLong() - Method in class io.spine.web.given.KnownRequest
 
getContentLengthLong() - Method in interface io.spine.web.given.MockedRequest
 
getContentType() - Method in class io.spine.web.given.KnownRequest
 
getContentType() - Method in class io.spine.web.given.MemoizingResponse
 
getContentType() - Method in interface io.spine.web.given.MockedRequest
 
getContentType() - Method in interface io.spine.web.given.MockedResponse
 
getContextPath() - Method in interface io.spine.web.given.MockedRequest
 
getCookies() - Method in interface io.spine.web.given.MockedRequest
 
getDateHeader(String) - Method in interface io.spine.web.given.MockedRequest
 
getDispatcherType() - Method in interface io.spine.web.given.MockedRequest
 
getHeader(String) - Method in class io.spine.web.given.KnownRequest
 
getHeader(String) - Method in class io.spine.web.given.KnownResponse
 
getHeader(String) - Method in class io.spine.web.given.MemoizingResponse
 
getHeader(String) - Method in interface io.spine.web.given.MockedRequest
 
getHeader(String) - Method in interface io.spine.web.given.MockedResponse
 
getHeaderNames() - Method in class io.spine.web.given.KnownRequest
 
getHeaderNames() - Method in class io.spine.web.given.KnownResponse
 
getHeaderNames() - Method in class io.spine.web.given.MemoizingResponse
 
getHeaderNames() - Method in interface io.spine.web.given.MockedRequest
 
getHeaderNames() - Method in interface io.spine.web.given.MockedResponse
 
getHeaders(String) - Method in class io.spine.web.given.KnownRequest
 
getHeaders(String) - Method in class io.spine.web.given.KnownResponse
 
getHeaders(String) - Method in class io.spine.web.given.MemoizingResponse
 
getHeaders(String) - Method in interface io.spine.web.given.MockedRequest
 
getHeaders(String) - Method in interface io.spine.web.given.MockedResponse
 
getInputStream() - Method in interface io.spine.web.given.MockedRequest
 
getIntHeader(String) - Method in interface io.spine.web.given.MockedRequest
 
getLocalAddr() - Method in interface io.spine.web.given.MockedRequest
 
getLocale() - Method in interface io.spine.web.given.MockedRequest
 
getLocale() - Method in interface io.spine.web.given.MockedResponse
 
getLocales() - Method in interface io.spine.web.given.MockedRequest
 
getLocalName() - Method in interface io.spine.web.given.MockedRequest
 
getLocalPort() - Method in interface io.spine.web.given.MockedRequest
 
getMethod() - Method in interface io.spine.web.given.MockedRequest
 
getOutputStream() - Method in interface io.spine.web.given.MockedResponse
 
getParameter(String) - Method in interface io.spine.web.given.MockedRequest
 
getParameterMap() - Method in interface io.spine.web.given.MockedRequest
 
getParameterNames() - Method in interface io.spine.web.given.MockedRequest
 
getParameterValues(String) - Method in interface io.spine.web.given.MockedRequest
 
getPart(String) - Method in interface io.spine.web.given.MockedRequest
 
getParts() - Method in interface io.spine.web.given.MockedRequest
 
getPathInfo() - Method in interface io.spine.web.given.MockedRequest
 
getPathTranslated() - Method in interface io.spine.web.given.MockedRequest
 
getProtocol() - Method in interface io.spine.web.given.MockedRequest
 
getQueryString() - Method in interface io.spine.web.given.MockedRequest
 
getReader() - Method in class io.spine.web.given.KnownRequest
 
getReader() - Method in interface io.spine.web.given.MockedRequest
 
getRealPath(String) - Method in interface io.spine.web.given.MockedRequest
Deprecated.
getRemoteAddr() - Method in interface io.spine.web.given.MockedRequest
 
getRemoteHost() - Method in interface io.spine.web.given.MockedRequest
 
getRemotePort() - Method in interface io.spine.web.given.MockedRequest
 
getRemoteUser() - Method in interface io.spine.web.given.MockedRequest
 
getRequestDispatcher(String) - Method in interface io.spine.web.given.MockedRequest
 
getRequestedSessionId() - Method in interface io.spine.web.given.MockedRequest
 
getRequestURI() - Method in class io.spine.web.given.KnownRequest
 
getRequestURI() - Method in interface io.spine.web.given.MockedRequest
 
getRequestURL() - Method in interface io.spine.web.given.MockedRequest
 
getScheme() - Method in interface io.spine.web.given.MockedRequest
 
getServerName() - Method in interface io.spine.web.given.MockedRequest
 
getServerPort() - Method in interface io.spine.web.given.MockedRequest
 
getServletContext() - Method in interface io.spine.web.given.MockedRequest
 
getServletPath() - Method in interface io.spine.web.given.MockedRequest
 
getSession() - Method in interface io.spine.web.given.MockedRequest
 
getSession(boolean) - Method in interface io.spine.web.given.MockedRequest
 
getStatus() - Method in class io.spine.web.given.KnownResponse
 
getStatus() - Method in class io.spine.web.given.MemoizingResponse
 
getStatus() - Method in interface io.spine.web.given.MockedResponse
 
getUserPrincipal() - Method in interface io.spine.web.given.MockedRequest
 
getWriter() - Method in class io.spine.web.given.KnownResponse
 
getWriter() - Method in class io.spine.web.given.MemoizingResponse
 
getWriter() - Method in interface io.spine.web.given.MockedResponse
 

I

io.spine.web.given - package io.spine.web.given
This package declares the routines designed to simplify testing of the web API exposed by Spine.
isAsyncStarted() - Method in interface io.spine.web.given.MockedRequest
 
isAsyncSupported() - Method in interface io.spine.web.given.MockedRequest
 
isCommitted() - Method in interface io.spine.web.given.MockedResponse
 
isRequestedSessionIdFromCookie() - Method in interface io.spine.web.given.MockedRequest
 
isRequestedSessionIdFromUrl() - Method in interface io.spine.web.given.MockedRequest
Deprecated.
isRequestedSessionIdFromURL() - Method in interface io.spine.web.given.MockedRequest
 
isRequestedSessionIdValid() - Method in interface io.spine.web.given.MockedRequest
 
isSecure() - Method in interface io.spine.web.given.MockedRequest
 
isUserInRole(String) - Method in interface io.spine.web.given.MockedRequest
 

K

KnownRequest - Class in io.spine.web.given
A mocked servlet request with pre-defined content.
KnownRequest.Builder - Class in io.spine.web.given
A builder for producing KnownRequest instances.
KnownResponse - Class in io.spine.web.given
A mocked servlet response with pre-defined writer, status and headers.

L

login(String, String) - Method in interface io.spine.web.given.MockedRequest
 
logout() - Method in interface io.spine.web.given.MockedRequest
 

M

MemoizingResponse - Class in io.spine.web.given
A mocked response that attempts to save all the actions done to it.
MemoizingResponse() - Constructor for class io.spine.web.given.MemoizingResponse
 
MockedRequest - Interface in io.spine.web.given
A mocked no-op servlet request.
MockedResponse - Interface in io.spine.web.given
A mocked no-op servlet response.

N

newBuilder() - Static method in class io.spine.web.given.KnownRequest
Creates a new request builder.

R

read(Query, StreamObserver<QueryResponse>) - Method in class io.spine.web.given.TestQueryService
 
removeAttribute(String) - Method in interface io.spine.web.given.MockedRequest
 
reset() - Method in interface io.spine.web.given.MockedResponse
 
resetBuffer() - Method in interface io.spine.web.given.MockedResponse
 

S

sendError(int) - Method in class io.spine.web.given.MemoizingResponse
 
sendError(int) - Method in interface io.spine.web.given.MockedResponse
 
sendError(int, String) - Method in class io.spine.web.given.MemoizingResponse
 
sendError(int, String) - Method in interface io.spine.web.given.MockedResponse
 
sendRedirect(String) - Method in interface io.spine.web.given.MockedResponse
 
setAttribute(String, Object) - Method in interface io.spine.web.given.MockedRequest
 
setBufferSize(int) - Method in interface io.spine.web.given.MockedResponse
 
setCharacterEncoding(String) - Method in interface io.spine.web.given.MockedRequest
 
setCharacterEncoding(String) - Method in interface io.spine.web.given.MockedResponse
 
setContentLength(int) - Method in interface io.spine.web.given.MockedResponse
 
setContentLengthLong(long) - Method in interface io.spine.web.given.MockedResponse
 
setContentType(String) - Method in class io.spine.web.given.MemoizingResponse
 
setContentType(String) - Method in interface io.spine.web.given.MockedResponse
 
setDateHeader(String, long) - Method in interface io.spine.web.given.MockedResponse
 
setHeader(String, String) - Method in interface io.spine.web.given.MockedResponse
 
setIntHeader(String, int) - Method in interface io.spine.web.given.MockedResponse
 
setLocale(Locale) - Method in interface io.spine.web.given.MockedResponse
 
setStatus(int) - Method in interface io.spine.web.given.MockedResponse
 
setStatus(int, String) - Method in interface io.spine.web.given.MockedResponse
Deprecated.
startAsync() - Method in interface io.spine.web.given.MockedRequest
 
startAsync(ServletRequest, ServletResponse) - Method in interface io.spine.web.given.MockedRequest
 

T

TestQueryService - Class in io.spine.web.given
 
TestQueryService(Message...) - Constructor for class io.spine.web.given.TestQueryService
 

U

upgrade(Class<T>) - Method in interface io.spine.web.given.MockedRequest
 

W

withBinaryContent(byte[]) - Method in class io.spine.web.given.KnownRequest.Builder
Sets the request content bytes.
withContent(String) - Method in class io.spine.web.given.KnownRequest.Builder
Sets the request content.
withHeaders(Map<String, String>) - Method in class io.spine.web.given.KnownRequest.Builder
Sets the request headers.
withType(MediaType) - Method in class io.spine.web.given.KnownRequest.Builder
Sets the request media type.
withUri(String) - Method in class io.spine.web.given.KnownRequest.Builder
Sets the request URI.
writerContent() - Method in class io.spine.web.given.MemoizingResponse
Returns the content of the associated response writer.
A B C E F G I K L M N R S T U W 
All Classes All Packages