Searched refs:wrappedRequest (Results 1 – 1 of 1) sorted by relevance
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletPipelineRequestDispatcherTest.java | 277 HttpServletRequest wrappedRequest = ManagedServletPipeline.wrapRequest(mockRequest, "/new-uri"); in testWrappedRequestUriAndUrlConsistency() local 278 assertEquals("/new-uri", wrappedRequest.getRequestURI()); in testWrappedRequestUriAndUrlConsistency() 279 assertEquals("http://the.server:12345/new-uri", wrappedRequest.getRequestURL().toString()); in testWrappedRequestUriAndUrlConsistency() 288 HttpServletRequest wrappedRequest = ManagedServletPipeline.wrapRequest(mockRequest, "/new-uri"); in testWrappedRequestUrlNegativePort() local 289 assertEquals("/new-uri", wrappedRequest.getRequestURI()); in testWrappedRequestUrlNegativePort() 290 assertEquals("http://the.server/new-uri", wrappedRequest.getRequestURL().toString()); in testWrappedRequestUrlNegativePort() 299 HttpServletRequest wrappedRequest = ManagedServletPipeline.wrapRequest(mockRequest, "/new-uri"); in testWrappedRequestUrlDefaultPort() local 300 assertEquals("/new-uri", wrappedRequest.getRequestURI()); in testWrappedRequestUrlDefaultPort() 301 assertEquals("http://the.server/new-uri", wrappedRequest.getRequestURL().toString()); in testWrappedRequestUrlDefaultPort() 311 HttpServletRequest wrappedRequest = ManagedServletPipeline.wrapRequest(mockRequest, "/new-uri"); in testWrappedRequestUrlDefaultHttpsPort() local [all …]
|