org.glassfish.admin.rest.client
Class RestClient

java.lang.Object
  extended by org.glassfish.admin.rest.client.RestClient

public class RestClient
extends Object

Author:
jasonlee

Field Summary
protected  com.sun.jersey.api.client.Client client
           
protected  String host
           
protected  int port
           
protected  boolean useSsl
           
 
Constructor Summary
RestClient()
           
RestClient(String host, int port, boolean useSsl)
           
RestClient(String host, int port, boolean useSsl, String user, String password)
           
 
Method Summary
 String getRestUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

protected String host

port

protected int port

client

protected com.sun.jersey.api.client.Client client

useSsl

protected boolean useSsl
Constructor Detail

RestClient

public RestClient()

RestClient

public RestClient(String host,
                  int port,
                  boolean useSsl)

RestClient

public RestClient(String host,
                  int port,
                  boolean useSsl,
                  String user,
                  String password)
Method Detail

getRestUrl

public String getRestUrl()


Copyright © 2012. All Rights Reserved.