Class HttpGetResource

All Implemented Interfaces:
Broadcaster, Listener, Repeater, Transceiver, CreatedAt, Modifiable, ModifiedAt, ByteSized, Receiver, Transmitter, NamedObject, StringSource, NetworkResource, Deletable, Readable, ReadableResource, Resource, Resourceful, ResourcePathed, UriIdentified
Direct Known Subclasses:
SecureHttpGetResource

public class HttpGetResource extends BaseHttpResource
A resource accessed by HTTP GET at the given network location using the given access constraints.
Author:
jonathanl (shibo)
  • Constructor Details

  • Method Details

    • newRequest

      protected org.apache.http.client.methods.HttpUriRequest newRequest()
      Specified by:
      newRequest in class BaseHttpResource
      Returns:
      The subclass' request object
    • onInitialize

      protected void onInitialize(org.apache.http.client.methods.HttpGet get)
      Method to allow super classes to add parameters / headers.
      Parameters:
      get - The get to be sent.