com.jdroid.java.http
Class DefaultServer

java.lang.Object
  extended by com.jdroid.java.http.DefaultServer
All Implemented Interfaces:
Server

public class DefaultServer
extends Object
implements Server


Constructor Summary
DefaultServer(String baseUrl)
           
DefaultServer(String name, String baseUrl, Boolean supportsSsl)
           
 
Method Summary
 String getBaseUrl()
           
 List<HttpWebServiceProcessor> getHttpWebServiceProcessors()
           
 String getName()
           
 Server instance(String name)
           
 Boolean isProduction()
           
 Boolean supportsSsl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServer

public DefaultServer(String name,
                     String baseUrl,
                     Boolean supportsSsl)

DefaultServer

public DefaultServer(String baseUrl)
Method Detail

getName

public String getName()
Specified by:
getName in interface Server
See Also:
Server.getName()

getBaseUrl

public String getBaseUrl()
Specified by:
getBaseUrl in interface Server
See Also:
Server.getBaseUrl()

supportsSsl

public Boolean supportsSsl()
Specified by:
supportsSsl in interface Server
See Also:
Server.supportsSsl()

isProduction

public Boolean isProduction()
Specified by:
isProduction in interface Server
See Also:
Server.isProduction()

getHttpWebServiceProcessors

public List<HttpWebServiceProcessor> getHttpWebServiceProcessors()
Specified by:
getHttpWebServiceProcessors in interface Server
See Also:
Server.getHttpWebServiceProcessors()

instance

public Server instance(String name)
Specified by:
instance in interface Server
See Also:
Server.instance(java.lang.String)


Copyright © 2014. All rights reserved.