org.apache.catalina.filters.TesterHttpServletResponse Java Examples

The following examples show how to use org.apache.catalina.filters.TesterHttpServletResponse. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TesterDigestAuthenticatorPerformance.java    From Tomcat8-Source-Read with MIT License 5 votes vote down vote up
public TesterRunnable(DigestAuthenticator authenticator,
        String nonce, int requestCount) throws Exception {
    this.authenticator = authenticator;
    this.nonce = nonce;
    this.requestCount = requestCount;

    request = new TesterDigestRequest();
    request.getMappingData().context = authenticator.context;

    response = new TesterHttpServletResponse();
}
 
Example #2
Source File: TesterDigestAuthenticatorPerformance.java    From Tomcat7.0.67 with Apache License 2.0 5 votes vote down vote up
public TesterRunnable(DigestAuthenticator authenticator,
        String nonce, int requestCount) throws Exception {
    this.authenticator = authenticator;
    this.nonce = nonce;
    this.requestCount = requestCount;

    request = new TesterDigestRequest();

    response = new TesterHttpServletResponse();

    config = new LoginConfig();
    config.setRealmName(REALM);
}
 
Example #3
Source File: TesterDigestAuthenticatorPerformance.java    From tomcatsrc with Apache License 2.0 5 votes vote down vote up
public TesterRunnable(DigestAuthenticator authenticator,
        String nonce, int requestCount) throws Exception {
    this.authenticator = authenticator;
    this.nonce = nonce;
    this.requestCount = requestCount;

    request = new TesterDigestRequest();

    response = new TesterHttpServletResponse();

    config = new LoginConfig();
    config.setRealmName(REALM);
}