org.jboss.aerogear.android.impl.pipeline
Class PipeConfig
java.lang.Object
org.jboss.aerogear.android.impl.pipeline.PipeConfig
public final class PipeConfig
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PipeConfig
public PipeConfig(URL baseURL,
Class klass)
getName
public String getName()
setName
public void setName(String name)
getBaseURL
public URL getBaseURL()
setBaseURL
public void setBaseURL(URL baseURL)
getEndpoint
public String getEndpoint()
setEndpoint
public void setEndpoint(String endpoint)
getType
public PipeType getType()
setType
public void setType(PipeType type)
getGsonBuilder
public com.google.gson.GsonBuilder getGsonBuilder()
setGsonBuilder
public void setGsonBuilder(com.google.gson.GsonBuilder gsonBuilder)
getAuthModule
public AuthenticationModule getAuthModule()
setAuthModule
public void setAuthModule(AuthenticationModule authModule)
getEncoding
public Charset getEncoding()
- Returns:
- the current encoding, will not be null.
setEncoding
public void setEncoding(Charset encoding)
- Parameters:
encoding - a not null encoding
- Throws:
IllegalArgumentException - if encoding is null
setEncoding
public void setEncoding(String charsetName)
- Parameters:
charsetName - a string for the encoding to be used
- Throws:
UnsupportedCharsetException - if charSet is not supported
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.