Package com.github.kristofa.test.http.file

Examples of com.github.kristofa.test.http.file.HttpRequestResponseFileLoggerFactory


    private MockAndProxyFacade buildFacade(final Mode mode) {
        final Builder builder = new Builder();
        return builder
            .mode(mode)
            .addForwardHttpRequestBuilder(new PassthroughForwardHttpRequestBuilder("localhost", SERVICE_PORT))
            .httpRequestResponseLoggerFactory(new HttpRequestResponseFileLoggerFactory(LOGGING_DIRECTORY, LOGGING_FILE_NAME))
            .port(MOCK_PROXY_PORT).httpResponseProvider(new FileHttpResponseProvider(LOGGING_DIRECTORY, LOGGING_FILE_NAME))
            .build();
    }
View Full Code Here

TOP

Related Classes of com.github.kristofa.test.http.file.HttpRequestResponseFileLoggerFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.