|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.services.wps.input.InputReference
public class InputReference
Reference to an input value that is provided by a web-accessible resource.
Constructor Summary | |
---|---|
InputReference(URL href,
Map<String,String> headers)
Creates a new InputReference that points to a web accessible resource which can be retrieved using a
simple HTTP Get operation. |
|
InputReference(URL href,
Map<String,String> headers,
org.apache.axiom.om.OMElement postBodyElement)
Creates a new InputReference that points to a web accessible resource which can be retrieved using a HTTP
Post operation (post body is specified as an OMElement ). |
|
InputReference(URL href,
Map<String,String> headers,
URL postBodyReference)
Creates a new InputReference that points to a web accessible resource which can be retrieved using a HTTP
Post operation (post body is specified as an URL reference). |
Method Summary | |
---|---|
URL |
getURL()
Returns the URL of the referenced resource. |
InputStream |
openStream()
Provides an InputStream for accessing the referenced content. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InputReference(URL href, Map<String,String> headers)
InputReference
that points to a web accessible resource which can be retrieved using a
simple HTTP Get operation.
href
- http url of the resourceheaders
- extra headers to be sent with the requestpublic InputReference(URL href, Map<String,String> headers, org.apache.axiom.om.OMElement postBodyElement)
InputReference
that points to a web accessible resource which can be retrieved using a HTTP
Post operation (post body is specified as an OMElement
).
href
- http url of the resourceheaders
- extra headers to be sent with the requestpostBodyElement
- element that encapsulates the post bodypublic InputReference(URL href, Map<String,String> headers, URL postBodyReference)
InputReference
that points to a web accessible resource which can be retrieved using a HTTP
Post operation (post body is specified as an URL
reference).
href
- http url of the resourceheaders
- extra headers to be sent with the requestpostBodyReference
- URL of the post body contentMethod Detail |
---|
public InputStream openStream() throws IOException
InputStream
for accessing the referenced content.
InputStream
that provides access to the referenced content
IOException
- if accessing the referenced content failspublic URL getURL()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |