|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object m.c.m.proxyma.plugins.retrivers.AbstractRetriver m.c.m.proxyma.plugins.retrivers.SimpleHttpRetriver
public class SimpleHttpRetriver
This plugin uses an URLConnection to retrive the remoteData form the real server and build a ResponseResourceDataBean that can be managed by transformers and serializers for further elaborations.
NOTE: this software is released under GPL License. See the LICENSE of this distribution for more informations.
Field Summary | |
---|---|
static java.lang.String |
CONTENT_ENCODING_HEADER
The standard content-encoding header. |
static java.lang.String |
TRANSFER_ENCODING_HEADER
The standard Trensfer Encodign Header |
Constructor Summary | |
---|---|
SimpleHttpRetriver(ProxymaContext context)
The default constructor for this class It prepares the context logger. |
Method Summary | |
---|---|
java.lang.String |
getHtmlDescription()
Returns a short description of what the plugin does.. |
java.lang.String |
getName()
Returns the name of the plugin. |
void |
process(ProxymaResource aResource)
This method register the time when it runs into a resource attribute. |
Methods inherited from class m.c.m.proxyma.plugins.retrivers.AbstractRetriver |
---|
getType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONTENT_ENCODING_HEADER
public static final java.lang.String TRANSFER_ENCODING_HEADER
Constructor Detail |
---|
public SimpleHttpRetriver(ProxymaContext context)
Method Detail |
---|
public void process(ProxymaResource aResource) throws java.lang.Exception
process
in interface ResourceHandler
process
in class AbstractRetriver
aResource
- any ProxymaResource
java.lang.Exception
for more informations
public java.lang.String getName()
getName
in interface ResourceHandler
getName
in class AbstractRetriver
public java.lang.String getHtmlDescription()
getHtmlDescription
in interface ResourceHandler
getHtmlDescription
in class AbstractRetriver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |