Search in sources :

Example 1 with RequestViewImpl

use of com.yahoo.jdisc.http.filter.SecurityResponseFilterChain.RequestViewImpl in project vespa by vespa-engine.

the class RequestViewImplTest method newRequestView.

private static RequestView newRequestView(HeaderFields parentHeaders) {
    Request request = mock(Request.class);
    when(request.headers()).thenReturn(parentHeaders);
    return new RequestViewImpl(request);
}
Also used : RequestViewImpl(com.yahoo.jdisc.http.filter.SecurityResponseFilterChain.RequestViewImpl) Request(com.yahoo.jdisc.Request)

Aggregations

Request (com.yahoo.jdisc.Request)1 RequestViewImpl (com.yahoo.jdisc.http.filter.SecurityResponseFilterChain.RequestViewImpl)1