org.trialox.jaxrs.mock
Class RequestImpl

java.lang.Object
  extended by org.trialox.jaxrs.mock.RequestImpl
All Implemented Interfaces:
org.wymiwyg.wrhapi.Request

public class RequestImpl
extends java.lang.Object
implements org.wymiwyg.wrhapi.Request

Version:
$Id: $
Author:
szalay

Constructor Summary
RequestImpl()
           
 
Method Summary
 java.lang.Object getBody()
           
 java.util.Set<org.wymiwyg.wrhapi.HeaderName> getHeaderNames()
           
 java.lang.String[] getHeaderValues(org.wymiwyg.wrhapi.HeaderName headerName)
           
 org.wymiwyg.wrhapi.MessageBody getMessageBody()
           
 org.wymiwyg.wrhapi.Method getMethod()
           
 int getPort()
           
 java.net.InetAddress getRemoteHost()
           
 org.wymiwyg.wrhapi.RequestURI getRequestURI()
           
 org.wymiwyg.wrhapi.URIScheme getScheme()
           
 void setBody(java.lang.Object body)
           
 void setHeader(org.wymiwyg.wrhapi.HeaderName headerName, java.lang.String[] values)
           
 void setMessageBody(org.wymiwyg.wrhapi.MessageBody messageBody)
           
 void setMethod(org.wymiwyg.wrhapi.Method method)
           
 void setPort(int port)
           
 void setRemoteHost(java.net.InetAddress remoteHost)
           
 void setRequestURI(org.wymiwyg.wrhapi.RequestURI requestURI)
           
 void setScheme(org.wymiwyg.wrhapi.URIScheme scheme)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestImpl

public RequestImpl()
Method Detail

getBody

public java.lang.Object getBody()
Specified by:
getBody in interface org.wymiwyg.wrhapi.Request

setBody

public void setBody(java.lang.Object body)

getHeaderNames

public java.util.Set<org.wymiwyg.wrhapi.HeaderName> getHeaderNames()
Specified by:
getHeaderNames in interface org.wymiwyg.wrhapi.Request

getHeaderValues

public java.lang.String[] getHeaderValues(org.wymiwyg.wrhapi.HeaderName headerName)
Specified by:
getHeaderValues in interface org.wymiwyg.wrhapi.Request

setHeader

public void setHeader(org.wymiwyg.wrhapi.HeaderName headerName,
                      java.lang.String[] values)

getMessageBody

public org.wymiwyg.wrhapi.MessageBody getMessageBody()
Specified by:
getMessageBody in interface org.wymiwyg.wrhapi.Request

setMessageBody

public void setMessageBody(org.wymiwyg.wrhapi.MessageBody messageBody)

getMethod

public org.wymiwyg.wrhapi.Method getMethod()
Specified by:
getMethod in interface org.wymiwyg.wrhapi.Request

setMethod

public void setMethod(org.wymiwyg.wrhapi.Method method)

getPort

public int getPort()
Specified by:
getPort in interface org.wymiwyg.wrhapi.Request

setPort

public void setPort(int port)

getRemoteHost

public java.net.InetAddress getRemoteHost()
Specified by:
getRemoteHost in interface org.wymiwyg.wrhapi.Request

setRemoteHost

public void setRemoteHost(java.net.InetAddress remoteHost)

getRequestURI

public org.wymiwyg.wrhapi.RequestURI getRequestURI()
Specified by:
getRequestURI in interface org.wymiwyg.wrhapi.Request

setRequestURI

public void setRequestURI(org.wymiwyg.wrhapi.RequestURI requestURI)

getScheme

public org.wymiwyg.wrhapi.URIScheme getScheme()
Specified by:
getScheme in interface org.wymiwyg.wrhapi.Request

setScheme

public void setScheme(org.wymiwyg.wrhapi.URIScheme scheme)


Copyright © 2008. All Rights Reserved.