it.geosolutions.geoserver.rest.manager
Class GeoServerRESTAbstractManager

java.lang.Object
  extended by it.geosolutions.geoserver.rest.manager.GeoServerRESTAbstractManager
Direct Known Subclasses:
GeoServerRESTManager, GeoServerRESTStoreManager

public abstract class GeoServerRESTAbstractManager
extends Object

Abstract manager, common functionality and interface for all GeoServerRESTFooManager classes.

Author:
Oscar Fonts, Carlo Cancellieri - carlo.cancellieri@geo-solutions.it

Field Summary
protected  String gspass
           
protected  String gsuser
           
protected  URL restURL
           
 
Constructor Summary
GeoServerRESTAbstractManager(URL restURL, String username, String password)
          Default constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

restURL

protected final URL restURL

gsuser

protected final String gsuser

gspass

protected final String gspass
Constructor Detail

GeoServerRESTAbstractManager

public GeoServerRESTAbstractManager(URL restURL,
                                    String username,
                                    String password)
                             throws IllegalArgumentException,
                                    MalformedURLException
Default constructor. Indicates connection parameters to remote GeoServer instance.

Parameters:
restURL - GeoServer REST API endpoint
username - GeoServer REST API authorized username
password - GeoServer REST API password for the former username
Throws:
MalformedURLException - if restURL is malformed
IllegalArgumentException


Copyright © 2007-2013 GeoSolutions. All Rights Reserved.