|
||||||||||
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(java.net.URL href,
java.util.Map<java.lang.String,java.lang.String> headers)
Creates a new InputReference that points to a web accessible resource which can be retrieved using a
simple HTTP Get operation. |
|
InputReference(java.net.URL href,
java.util.Map<java.lang.String,java.lang.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(java.net.URL href,
java.util.Map<java.lang.String,java.lang.String> headers,
java.net.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 | |
---|---|
java.net.URL |
getURL()
Returns the URL of the referenced resource. |
java.io.InputStream |
openStream()
Provides an InputStream for accessing the referenced content. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InputReference(java.net.URL href, java.util.Map<java.lang.String,java.lang.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(java.net.URL href, java.util.Map<java.lang.String,java.lang.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(java.net.URL href, java.util.Map<java.lang.String,java.lang.String> headers, java.net.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 java.io.InputStream openStream() throws java.io.IOException
InputStream
for accessing the referenced content.
InputStream
that provides access to the referenced content
java.io.IOException
- if accessing the referenced content failspublic java.net.URL getURL()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |