public class RuntimeResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPERATION_ISSUE
Issue operation pertaining to a resource of type Token Service Relying Party.
|
protected java.lang.String |
queryString |
static java.lang.String |
RES_TYPE_HTTP
HTTP resource type name.
|
static java.lang.String |
RES_TYPE_TOKEN_SERVICE_RP
Token Service Relying Party resource type name.
|
Constructor and Description |
---|
RuntimeResource(RuntimeResource another)
Constructs a new resource from another resource.
|
RuntimeResource(java.lang.String resourceURL,
java.lang.String host,
int port)
Constructs a new HTTP resource with the given resource URL.
|
RuntimeResource(java.lang.String resourceType,
java.lang.String resourceURL,
java.lang.String operation)
Constructs a new resource with the given resource type, URL and operation.
|
RuntimeResource(java.lang.String resourceURL,
java.lang.String queryString,
java.lang.String host,
int port)
Constructs a new HTTP-typed resource, with the request URL parsed into its
various components.
|
RuntimeResource(java.lang.String resourceName,
java.lang.String resourceType,
java.lang.String resourceURL,
java.lang.String host,
int port) |
RuntimeResource(java.lang.String resourceName,
java.lang.String resourceType,
java.lang.String resourceURL,
java.lang.String operation,
java.lang.String host,
int port)
Constructs a new resource with the given resource name, type, URL and operation.
|
RuntimeResource(java.lang.String resourceName,
java.lang.String resourceType,
java.lang.String resourceURL,
java.lang.String queryString,
java.lang.String operation,
java.lang.String host,
int port)
Constructs a new resource with the given resource name, type, URL and operation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCompleteResourceURL()
Returns complete resource URL representation.
|
java.lang.String |
getHost()
Return host name
|
java.lang.String |
getOperation()
Returns the operation to be performed on resource.
|
int |
getPort()
Returns port number.
|
java.lang.String |
getQueryString()
Returns query string.
|
java.lang.String |
getResourceName()
Returns the Resource Name.
|
java.lang.String |
getResourceType()
Returns the type of resource.
|
java.lang.String |
getResourceURL()
Returns resource URL representation.
|
int |
hashCode() |
void |
setCompleteResourceURL(java.lang.String completeResourceURL)
Returns resource URL representation.
|
java.lang.String |
toString()
Returns a string representation of the resource
|
public static final java.lang.String RES_TYPE_HTTP
public static final java.lang.String RES_TYPE_TOKEN_SERVICE_RP
public static final java.lang.String OPERATION_ISSUE
protected java.lang.String queryString
public RuntimeResource(RuntimeResource another)
another
- An existing resource.public RuntimeResource(java.lang.String resourceName, java.lang.String resourceType, java.lang.String resourceURL, java.lang.String operation, java.lang.String host, int port)
resourceName
- The resource name string.resourceType
- The type of the resource.resourceURL
- The URL of the resource, in URL-encoded form.operation
- Operation on the resource.host
- Preferred host name.port
- Port number. Port value of 0 indicates the host is a preferred host.public RuntimeResource(java.lang.String resourceType, java.lang.String resourceURL, java.lang.String operation)
resourceType
- The type of the resource.resourceURL
- The URL of the resource, in URL-encoded form.operation
- Operation on the resource.public RuntimeResource(java.lang.String resourceName, java.lang.String resourceType, java.lang.String resourceURL, java.lang.String queryString, java.lang.String operation, java.lang.String host, int port)
resourceName
- The resource name string.resourceType
- The type of the resource.resourceURL
- The relative path portion of the URL, in URL-encoded form.queryString
- The query string portion of the URL, in URL-encoded form.operation
- Operation on the resource.host
- Host name.port
- Port number. A value of 0 indicates the host is a preferred host string.public RuntimeResource(java.lang.String resourceURL, java.lang.String host, int port)
public RuntimeResource(java.lang.String resourceName, java.lang.String resourceType, java.lang.String resourceURL, java.lang.String host, int port)
public RuntimeResource(java.lang.String resourceURL, java.lang.String queryString, java.lang.String host, int port)
RuntimeResource(String,String,String,String,String,int)
public java.lang.String getQueryString()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getResourceName()
public java.lang.String getOperation()
public java.lang.String getResourceType()
public java.lang.String getResourceURL()
public java.lang.String getHost()
public int getPort()
public void setCompleteResourceURL(java.lang.String completeResourceURL)
public java.lang.String getCompleteResourceURL()