All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.baltoro.client.BaltoroClientConfigWSWeb_old Maven / Gradle / Ivy

There is a newer version: 4.0.12
Show newest version
package io.baltoro.client;

public class BaltoroClientConfigWSWeb_old
{
	/*
	
	static Logger log = Logger.getLogger(BaltoroClientConfigWSWeb.class.getName());
	
    static volatile boolean called = false;
    private String appName;
    private String token;
    private String path;
    
    public BaltoroClientConfigWSWeb(String appName, String path, String token)
	{
    	this.appName = appName;
		this.token = token;
		this.path = path;
	}

    @Override
    public void beforeRequest(Map> headers) 
    {
        called = true;
        
       
        headers.put("BLT_APP_NAME", Arrays.asList(this.appName));
        headers.put("BLT_METHOD_PATH", Arrays.asList(this.path));
        headers.put("BLT_TOKEN", Arrays.asList(this.token));
       
    }

    @Override
    public void afterResponse(HandshakeResponse handshakeResponse) 
    {
        final Map> headers = handshakeResponse.getHeaders();
    }
    */
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy