Uses of Class
org.apache.juneau.rest.mock.MockRestRequest
Packages that use MockRestRequest
-
Uses of MockRestRequest in org.apache.juneau.rest.mock
Methods in org.apache.juneau.rest.mock that return MockRestRequestModifier and TypeMethodDescriptionMockRestRequest.acceptCharset
(String value) Adds an attribute to the underlyingHttpServletRequest
object.MockRestRequest.attributes
(Map<String, Object> value) Replaces the attributes on the underlyingHttpServletRequest
object.Overrides the authorization type value on the underlyingHttpServletRequest
object.MockRestRequest.cancellable
(Cancellable cancellable) MockRestRequest.characterEncoding
(String value) Overrides the character encoding value on the underlyingHttpServletRequest
object.MockRestRequest.config
(RequestConfig value) MockRestRequest.content
(Object input, HttpPartSchema schema) MockRestRequest.contentString
(Object input) MockRestRequest.contentType
(String value) MockRestRequest.context
(HttpContext context) MockRestRequest.contextPath
(String value) Overrides the context path on the underlyingHttpServletRequest
object.MockRestRequest.cookies
(jakarta.servlet.http.Cookie[] value) Overrides the cookies on the underlyingHttpServletRequest
object.protected MockRestRequest
MockRestClient.createRequest
(URI uri, String method, boolean hasBody) MockRestRequest.debug()
MockRestRequest.dispatcherType
(jakarta.servlet.DispatcherType value) Overrides the dispatcher type value on the underlyingHttpServletRequest
object.MockRestRequest.errorCodes
(Predicate<Integer> value) MockRestRequest.formData
(NameValuePair... parts) MockRestRequest.formDataBean
(Object value) MockRestRequest.formDataCustom
(Object value) MockRestRequest.formDataPairs
(String... pairs) MockRestClient.formPostPairs
(Object url, String... parameters) MockRestClient.get()
MockRestRequest.headerPairs
(String... pairs) MockRestRequest.headersBean
(Object value) MockRestRequest.html()
MockRestRequest.htmlDoc()
MockRestRequest.htmlStrippedDoc()
MockRestRequest.httpSession
(jakarta.servlet.http.HttpSession value) Overrides the HTTP session on the underlyingHttpServletRequest
object.MockRestRequest.ignoreErrors()
MockRestRequest.interceptors
(RestCallInterceptor... interceptors) MockRestRequest.json()
MockRestRequest.json5()
Overrides the local address value on the underlyingHttpServletRequest
object.Overrides the locale on the underlyingHttpServletRequest
object.Overrides the local name value on the underlyingHttpServletRequest
object.MockRestRequest.localPort
(int value) Overrides the local port value on the underlyingHttpServletRequest
object.MockRestRequest.msgPack()
MockRestRequest.noTrace()
MockRestRequest.openApi()
MockRestClient.patch
(Object url, String body, ContentType contentType) MockRestRequest.pathData
(NameValuePair... parts) MockRestRequest.pathDataBean
(Object value) MockRestRequest.pathDataPairs
(String... pairs) Overrides the path-info value on the underlyingHttpServletRequest
object.MockRestRequest.pathTranslated
(String value) Overrides the path-translated value on the underlyingHttpServletRequest
object.MockRestRequest.plainText()
MockRestClient.post
(Object url, String body, ContentType contentType) Overrides the HTTP protocol value on the underlyingHttpServletRequest
object.MockRestRequest.protocolVersion
(ProtocolVersion version) MockRestClient.put
(Object url, String body, ContentType contentType) MockRestRequest.queryCustom
(Object value) MockRestRequest.queryData
(NameValuePair... parts) MockRestRequest.queryDataBean
(Object value) MockRestRequest.queryDataPairs
(String... pairs) MockRestRequest.queryString
(String value) Overrides the query string on the underlyingHttpServletRequest
object.MockRestRequest.remoteAddr
(String value) Overrides the remote address value on the underlyingHttpServletRequest
object.MockRestRequest.remoteHost
(String value) Overrides the remote host value on the underlyingHttpServletRequest
object.MockRestRequest.remotePort
(int value) Overrides the remote port value on the underlyingHttpServletRequest
object.MockRestRequest.remoteUser
(String value) Overrides the remote user on the underlyingHttpServletRequest
object.MockRestClient.request
(RestOperation op) MockRestRequest.requestDispatcher
(String path, jakarta.servlet.RequestDispatcher value) Overrides the request dispatcher on the underlyingHttpServletRequest
object.MockRestRequest.requestedSessionId
(String value) Overrides the requested session ID on the underlyingHttpServletRequest
object.MockRestRequest.requestURI
(String value) Overrides the request URI on the underlyingHttpServletRequest
object.Specifies the value for the security roles on the underlyingHttpServletRequest
object.Specifies the user roles on the underlyingHttpServletRequest
object.MockRestRequest.serializer
(Class<? extends Serializer> serializer) MockRestRequest.serializer
(Serializer serializer) MockRestRequest.serverName
(String value) Overrides the server name value on the underlyingHttpServletRequest
object.MockRestRequest.serverPort
(int value) Overrides the server port value on the underlyingHttpServletRequest
object.MockRestRequest.servletContext
(jakarta.servlet.ServletContext value) Overrides the servlet context on the underlyingHttpServletRequest
object.MockRestRequest.servletPath
(String value) Overrides the servlet path on the underlyingHttpServletRequest
object.MockRestRequest.suppressLogging()
MockRestRequest.uon()
MockRestRequest.uriFragment
(String fragment) MockRestRequest.uriPort
(int port) Overrides the HTTP schema value on the underlyingHttpServletRequest
object.MockRestRequest.uriUserInfo
(String userInfo) MockRestRequest.uriUserInfo
(String username, String password) MockRestRequest.urlEnc()
MockRestRequest.userPrincipal
(Principal value) Overrides the user principal on the underlyingHttpServletRequest
object.MockRestRequest.xml()