Constructor and Description |
---|
ResourceTarget(org.apache.abdera.protocol.server.TargetType type,
org.apache.abdera.protocol.server.RequestContext context,
Resource resource)
Creates a resource target.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Resource |
getResource()
Method to obtain a resource.
|
int |
hashCode() |
public ResourceTarget(org.apache.abdera.protocol.server.TargetType type, org.apache.abdera.protocol.server.RequestContext context, Resource resource)
type
- the target type.context
- the request context.resource
- the resource.public Resource getResource()
public int hashCode()
hashCode
in class org.apache.abdera.protocol.server.impl.SimpleTarget
public boolean equals(Object obj)
equals
in class org.apache.abdera.protocol.server.impl.SimpleTarget
Copyright © 2015 WSO2 Inc. All Rights Reserved.