public class ResponseTarget
extends org.apache.abdera.protocol.server.impl.SimpleTarget
Modifier and Type | Field and Description |
---|---|
static org.apache.abdera.protocol.server.TargetType |
RESPONSE_TYPE
The type of response target.
|
Constructor and Description |
---|
ResponseTarget(org.apache.abdera.protocol.server.RequestContext context,
org.apache.abdera.protocol.server.ResponseContext response)
Creates a response target.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.apache.abdera.protocol.server.ResponseContext |
getResponse()
Method to obtain the response context.
|
int |
hashCode() |
public static final org.apache.abdera.protocol.server.TargetType RESPONSE_TYPE
public ResponseTarget(org.apache.abdera.protocol.server.RequestContext context, org.apache.abdera.protocol.server.ResponseContext response)
context
- the request context.response
- the response context.public org.apache.abdera.protocol.server.ResponseContext getResponse()
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 © 2016 WSO2 Inc. All Rights Reserved.