Uses of Class
org.apache.juneau.rest.mock.MockRestRequest
Packages that use MockRestRequest
- 
Uses of MockRestRequest in org.apache.juneau.rest.mockMethods in org.apache.juneau.rest.mock that return MockRestRequestModifier and TypeMethodDescriptionMockRestRequest.acceptCharset(String value) Adds an attribute to the underlyingHttpServletRequestobject.MockRestRequest.attributes(Map<String, Object> value) Replaces the attributes on the underlyingHttpServletRequestobject.Overrides the authorization type value on the underlyingHttpServletRequestobject.MockRestRequest.cancellable(Cancellable cancellable) MockRestRequest.characterEncoding(String value) Overrides the character encoding value on the underlyingHttpServletRequestobject.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 underlyingHttpServletRequestobject.MockRestRequest.cookies(jakarta.servlet.http.Cookie[] value) Overrides the cookies on the underlyingHttpServletRequestobject.protected MockRestRequestMockRestClient.createRequest(URI uri, String method, boolean hasBody) MockRestRequest.debug()MockRestRequest.dispatcherType(jakarta.servlet.DispatcherType value) Overrides the dispatcher type value on the underlyingHttpServletRequestobject.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 underlyingHttpServletRequestobject.MockRestRequest.ignoreErrors()MockRestRequest.interceptors(RestCallInterceptor... interceptors) MockRestRequest.json()MockRestRequest.json5()Overrides the local address value on the underlyingHttpServletRequestobject.Overrides the locale on the underlyingHttpServletRequestobject.Overrides the local name value on the underlyingHttpServletRequestobject.MockRestRequest.localPort(int value) Overrides the local port value on the underlyingHttpServletRequestobject.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 underlyingHttpServletRequestobject.MockRestRequest.pathTranslated(String value) Overrides the path-translated value on the underlyingHttpServletRequestobject.MockRestRequest.plainText()MockRestClient.post(Object url, String body, ContentType contentType) Overrides the HTTP protocol value on the underlyingHttpServletRequestobject.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 underlyingHttpServletRequestobject.MockRestRequest.remoteAddr(String value) Overrides the remote address value on the underlyingHttpServletRequestobject.MockRestRequest.remoteHost(String value) Overrides the remote host value on the underlyingHttpServletRequestobject.MockRestRequest.remotePort(int value) Overrides the remote port value on the underlyingHttpServletRequestobject.MockRestRequest.remoteUser(String value) Overrides the remote user on the underlyingHttpServletRequestobject.MockRestClient.request(RestOperation op) MockRestRequest.requestDispatcher(String path, jakarta.servlet.RequestDispatcher value) Overrides the request dispatcher on the underlyingHttpServletRequestobject.MockRestRequest.requestedSessionId(String value) Overrides the requested session ID on the underlyingHttpServletRequestobject.MockRestRequest.requestURI(String value) Overrides the request URI on the underlyingHttpServletRequestobject.Specifies the value for the security roles on the underlyingHttpServletRequestobject.Specifies the user roles on the underlyingHttpServletRequestobject.MockRestRequest.serializer(Class<? extends Serializer> serializer) MockRestRequest.serializer(Serializer serializer) MockRestRequest.serverName(String value) Overrides the server name value on the underlyingHttpServletRequestobject.MockRestRequest.serverPort(int value) Overrides the server port value on the underlyingHttpServletRequestobject.MockRestRequest.servletContext(jakarta.servlet.ServletContext value) Overrides the servlet context on the underlyingHttpServletRequestobject.MockRestRequest.servletPath(String value) Overrides the servlet path on the underlyingHttpServletRequestobject.MockRestRequest.suppressLogging()MockRestRequest.uon()MockRestRequest.uriFragment(String fragment) MockRestRequest.uriPort(int port) Overrides the HTTP schema value on the underlyingHttpServletRequestobject.MockRestRequest.uriUserInfo(String userInfo) MockRestRequest.uriUserInfo(String username, String password) MockRestRequest.urlEnc()MockRestRequest.userPrincipal(Principal value) Overrides the user principal on the underlyingHttpServletRequestobject.MockRestRequest.xml()