org.javaswift.joss.command.impl.container
Class ContainerRightsCommandImpl

java.lang.Object
  extended by org.javaswift.joss.command.impl.core.AbstractCommand<M,N>
      extended by org.javaswift.joss.command.impl.core.AbstractSecureCommand<M,N>
          extended by org.javaswift.joss.command.impl.container.AbstractContainerCommand<org.apache.http.client.methods.HttpPut,String[]>
              extended by org.javaswift.joss.command.impl.container.ContainerRightsCommandImpl
All Implemented Interfaces:
Closeable, Callable<String[]>, ContainerRightsCommand, Command<String[]>

public class ContainerRightsCommandImpl
extends AbstractContainerCommand<org.apache.http.client.methods.HttpPut,String[]>
implements ContainerRightsCommand


Field Summary
 
Fields inherited from class org.javaswift.joss.command.impl.core.AbstractCommand
LOG, request, response
 
Constructor Summary
ContainerRightsCommandImpl(Account account, org.apache.http.client.HttpClient httpClient, Access access, Container container, boolean publicContainer)
           
ContainerRightsCommandImpl(Account account, org.apache.http.client.HttpClient httpClient, Access access, Container container, String writePermissions, String readPermissions)
           
 
Method Summary
protected  org.apache.http.client.methods.HttpPut createRequest(String url)
           
 HttpStatusChecker[] getStatusCheckers()
           
 
Methods inherited from class org.javaswift.joss.command.impl.core.AbstractSecureCommand
call, getURL, setConnectionKeepAlive
 
Methods inherited from class org.javaswift.joss.command.impl.core.AbstractCommand
addHeaders, close, closeStreamAutomatically, createObjectMapper, getReturnObject, modifyURI, setAllowErrorLog, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.javaswift.joss.command.shared.core.Command
call
 

Constructor Detail

ContainerRightsCommandImpl

public ContainerRightsCommandImpl(Account account,
                                  org.apache.http.client.HttpClient httpClient,
                                  Access access,
                                  Container container,
                                  boolean publicContainer)

ContainerRightsCommandImpl

public ContainerRightsCommandImpl(Account account,
                                  org.apache.http.client.HttpClient httpClient,
                                  Access access,
                                  Container container,
                                  String writePermissions,
                                  String readPermissions)
Method Detail

createRequest

protected org.apache.http.client.methods.HttpPut createRequest(String url)
Specified by:
createRequest in class AbstractCommand<org.apache.http.client.methods.HttpPut,String[]>

getStatusCheckers

public HttpStatusChecker[] getStatusCheckers()
Specified by:
getStatusCheckers in class AbstractCommand<org.apache.http.client.methods.HttpPut,String[]>


Copyright © 2012-2014 42 BV. All Rights Reserved.