com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client
Class AtlassianTenantFilter
java.lang.Object
com.sun.jersey.api.client.filter.ClientFilter
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.AtlassianTenantFilter
- All Implemented Interfaces:
- com.sun.jersey.api.client.ClientHandler
public class AtlassianTenantFilter
- extends com.sun.jersey.api.client.filter.ClientFilter
Adds the X-Atlassian-Tenant header to all requests
- Since:
- v4.3
Method Summary |
com.sun.jersey.api.client.ClientResponse |
handle(com.sun.jersey.api.client.ClientRequest cr)
|
Methods inherited from class com.sun.jersey.api.client.filter.ClientFilter |
getNext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtlassianTenantFilter
public AtlassianTenantFilter(String tenant)
handle
public com.sun.jersey.api.client.ClientResponse handle(com.sun.jersey.api.client.ClientRequest cr)
throws com.sun.jersey.api.client.ClientHandlerException
- Specified by:
handle
in interface com.sun.jersey.api.client.ClientHandler
- Specified by:
handle
in class com.sun.jersey.api.client.filter.ClientFilter
- Throws:
com.sun.jersey.api.client.ClientHandlerException
Copyright © 2002-2012 Atlassian. All Rights Reserved.