throws Exception
{
- //WebClient client = newClient();
- //client.getPage( "http://localhost:" + port + "/reinit/reload" );
- //return client.getPage( "http://localhost:" + port + path ).getWebResponse();
-
MockHttpServletRequest request = new MockHttpServletRequest();
request.setRequestURI( webRequest.getUrl().getPath() );
request.addHeader( "User-Agent", "Apache Archiva unit test" );
{
return response.getStatus();
}
+
+ @Override
+ public String getResponseHeaderValue( String headerName )
+ {
+ return response.getHeader( headerName );
+ }
};
}