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